Update app.py
Browse files
app.py
CHANGED
@@ -64,12 +64,14 @@ with gr.Blocks() as pan:
|
|
64 |
run = gr.Button("Generate Images", variant="primary")
|
65 |
|
66 |
with gr.Row():
|
67 |
-
output1 = gr.Image(label="")
|
68 |
magic1 = gr.Textbox(label="Generated Prompt", lines=2)
|
|
|
|
|
69 |
|
70 |
with gr.Row():
|
71 |
-
output2 = gr.Image(label="")
|
72 |
magic2 = gr.Textbox(label="Generated Prompt", lines=2)
|
|
|
|
|
73 |
|
74 |
run.click(send_it, inputs=[magic1, model_name1], outputs=[output1])
|
75 |
run.click(send_it, inputs=[magic2, model_name1], outputs=[output2])
|
|
|
64 |
run = gr.Button("Generate Images", variant="primary")
|
65 |
|
66 |
with gr.Row():
|
|
|
67 |
magic1 = gr.Textbox(label="Generated Prompt", lines=2)
|
68 |
+
output1 = gr.Image(label="")
|
69 |
+
|
70 |
|
71 |
with gr.Row():
|
|
|
72 |
magic2 = gr.Textbox(label="Generated Prompt", lines=2)
|
73 |
+
output2 = gr.Image(label="")
|
74 |
+
|
75 |
|
76 |
run.click(send_it, inputs=[magic1, model_name1], outputs=[output1])
|
77 |
run.click(send_it, inputs=[magic2, model_name1], outputs=[output2])
|