Spaces:
Sleeping
Sleeping
N.Achyuth Reddy
commited on
Commit
·
3b94a6b
1
Parent(s):
6425b37
Update app.py
Browse files
app.py
CHANGED
|
@@ -159,12 +159,13 @@ with gr.Blocks(css='style.css') as demo:
|
|
| 159 |
)
|
| 160 |
with gr.Row():
|
| 161 |
with gr.Row():
|
| 162 |
-
output1=gr.Image(label="ImMagician", show_label=False, min_width=640, object_fit="contain", height="auto")
|
| 163 |
-
output2=gr.Image(label="ImMagician", show_label=False, min_width=640, object_fit="contain", height="auto")
|
| 164 |
with gr.Row():
|
| 165 |
with gr.Row():
|
| 166 |
-
output3=gr.Image(label="ImMagician", show_label=False, min_width=640, object_fit="contain", height="auto")
|
| 167 |
-
output4=gr.Image(label="ImMagician", show_label=False, min_width=640, object_fit="contain", height="auto")
|
|
|
|
| 168 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt], queue=False)
|
| 169 |
run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])
|
| 170 |
run.click(send_it2, inputs=[prompt, noise_level], outputs=[output2])
|
|
|
|
| 159 |
)
|
| 160 |
with gr.Row():
|
| 161 |
with gr.Row():
|
| 162 |
+
output1=gr.Image(label="ImMagician", show_label=False, min_width=640, object_fit="contain", height="auto", download=True)
|
| 163 |
+
output2=gr.Image(label="ImMagician", show_label=False, min_width=640, object_fit="contain", height="auto", download=True)
|
| 164 |
with gr.Row():
|
| 165 |
with gr.Row():
|
| 166 |
+
output3=gr.Image(label="ImMagician", show_label=False, min_width=640, object_fit="contain", height="auto", download=True)
|
| 167 |
+
output4=gr.Image(label="ImMagician", show_label=False, min_width=640, object_fit="contain", height="auto", download=True)
|
| 168 |
+
|
| 169 |
see_prompts.click(get_prompts, inputs=[input_text], outputs=[prompt], queue=False)
|
| 170 |
run.click(send_it1, inputs=[prompt, noise_level], outputs=[output1])
|
| 171 |
run.click(send_it2, inputs=[prompt, noise_level], outputs=[output2])
|