Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -178,15 +178,16 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
|
|
178 |
|
179 |
with gr.Row():
|
180 |
text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
|
181 |
-
|
|
|
|
|
182 |
|
183 |
with gr.Row():
|
184 |
clear_btn = gr.Button(value="Clear",variant="primary", elem_id="clear_button")
|
185 |
clear_btn.click(clear, inputs=[text_prompt], outputs=[image_output])
|
186 |
#clr_button =gr.Button("Clear",variant="primary", elem_id="clear_button")
|
187 |
#clr_button.click(lambda: gr.Textbox(value=""), None, text_prompt)
|
188 |
-
|
189 |
-
image_output = gr.Image(type="pil", label="Image Output", format="png", elem_id="gallery")
|
190 |
#with gr.Row():
|
191 |
#image_output = gr.Image(type="pil", label="Image Output", format="png", elem_id="gallery")
|
192 |
|
|
|
178 |
|
179 |
with gr.Row():
|
180 |
text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
|
181 |
+
|
182 |
+
with gr.Row():
|
183 |
+
image_output = gr.Image(type="pil", label="Image Output", format="png", elem_id="gallery")
|
184 |
|
185 |
with gr.Row():
|
186 |
clear_btn = gr.Button(value="Clear",variant="primary", elem_id="clear_button")
|
187 |
clear_btn.click(clear, inputs=[text_prompt], outputs=[image_output])
|
188 |
#clr_button =gr.Button("Clear",variant="primary", elem_id="clear_button")
|
189 |
#clr_button.click(lambda: gr.Textbox(value=""), None, text_prompt)
|
190 |
+
|
|
|
191 |
#with gr.Row():
|
192 |
#image_output = gr.Image(type="pil", label="Image Output", format="png", elem_id="gallery")
|
193 |
|