Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -103,12 +103,13 @@ with gr.Blocks(css=css) as demo:
|
|
| 103 |
|
| 104 |
with gr.Column():
|
| 105 |
with gr.Group():
|
|
|
|
| 106 |
prompt1 = gr.Textbox(label="Prompt1", value="A man working on a laptop")
|
| 107 |
prompt2 = gr.Textbox(label="Prompt2", value="A man eating pizza")
|
| 108 |
prompt3 = gr.Textbox(label="Prompt3", value="A woman playing on saxophone")
|
| 109 |
run_button = gr.Button("Submit")
|
| 110 |
|
| 111 |
-
|
| 112 |
|
| 113 |
run_button.click(
|
| 114 |
fn = run,
|
|
|
|
| 103 |
|
| 104 |
with gr.Column():
|
| 105 |
with gr.Group():
|
| 106 |
+
results = gr.Gallery()
|
| 107 |
prompt1 = gr.Textbox(label="Prompt1", value="A man working on a laptop")
|
| 108 |
prompt2 = gr.Textbox(label="Prompt2", value="A man eating pizza")
|
| 109 |
prompt3 = gr.Textbox(label="Prompt3", value="A woman playing on saxophone")
|
| 110 |
run_button = gr.Button("Submit")
|
| 111 |
|
| 112 |
+
|
| 113 |
|
| 114 |
run_button.click(
|
| 115 |
fn = run,
|