alfredplpl commited on
Commit
db13200
·
verified ·
1 Parent(s): 573a973

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -55,7 +55,7 @@ with gr.Blocks(css=css) as demo:
55
  run_button = gr.Button("Run", scale=0)
56
 
57
  result = gr.Image(label="Result", show_label=False)
58
-
59
  with gr.Accordion("Advanced Settings", open=False):
60
 
61
  seed = gr.Slider(
@@ -107,7 +107,7 @@ with gr.Blocks(css=css) as demo:
107
  run_button.click(
108
  fn = infer,
109
  inputs = [seed, randomize_seed, width, height, guidance_scale, num_inference_steps],
110
- outputs = [result,"textbox"]
111
  )
112
 
113
  demo.queue().launch()
 
55
  run_button = gr.Button("Run", scale=0)
56
 
57
  result = gr.Image(label="Result", show_label=False)
58
+ generated_prompt = gr.TextArea(show_label=False)
59
  with gr.Accordion("Advanced Settings", open=False):
60
 
61
  seed = gr.Slider(
 
107
  run_button.click(
108
  fn = infer,
109
  inputs = [seed, randomize_seed, width, height, guidance_scale, num_inference_steps],
110
+ outputs = [result,generated_prompt]
111
  )
112
 
113
  demo.queue().launch()