Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Update app.py
Browse files
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,
|
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()
|