Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,7 @@ with gr.Blocks() as demo:
|
|
| 40 |
|
| 41 |
# Input components in a row.
|
| 42 |
with gr.Row():
|
| 43 |
-
image_input = gr.Image(label="Input Image")
|
| 44 |
text_input = gr.Textbox(label="Input Text", placeholder='Type "a" for workflow A or anything else for workflow B')
|
| 45 |
|
| 46 |
# Start button to trigger the main function.
|
|
@@ -48,9 +48,9 @@ with gr.Blocks() as demo:
|
|
| 48 |
|
| 49 |
gr.Markdown("### Outputs")
|
| 50 |
# Output images in a row.
|
| 51 |
-
with gr.Row():
|
| 52 |
-
|
| 53 |
-
|
| 54 |
|
| 55 |
output_text = gr.Textbox(label="Output Text")
|
| 56 |
|
|
|
|
| 40 |
|
| 41 |
# Input components in a row.
|
| 42 |
with gr.Row():
|
| 43 |
+
#image_input = gr.Image(label="Input Image")
|
| 44 |
text_input = gr.Textbox(label="Input Text", placeholder='Type "a" for workflow A or anything else for workflow B')
|
| 45 |
|
| 46 |
# Start button to trigger the main function.
|
|
|
|
| 48 |
|
| 49 |
gr.Markdown("### Outputs")
|
| 50 |
# Output images in a row.
|
| 51 |
+
#with gr.Row():
|
| 52 |
+
# output_image1 = gr.Image(label="Output Image 1")
|
| 53 |
+
# output_image2 = gr.Image(label="Output Image 2")
|
| 54 |
|
| 55 |
output_text = gr.Textbox(label="Output Text")
|
| 56 |
|