Spaces:
Runtime error
Runtime error
Update app_dialogue.py
Browse files- app_dialogue.py +6 -13
app_dialogue.py
CHANGED
@@ -439,20 +439,13 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
|
|
439 |
# with gr.Column(scale=0.1, min_width=):
|
440 |
# upload_btn = gr.UploadButton("📁 Upload image", file_types=["image"])
|
441 |
with gr.Group():
|
442 |
-
|
443 |
-
with gr.Column(scale=0.6):
|
444 |
textbox.render()
|
445 |
-
with gr.
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
with gr.Column(min_width=60):
|
451 |
-
clear_btn = gr.ClearButton([textbox, imagebox, chatbot], value="🧹 Clear")
|
452 |
-
with gr.Column(min_width=120):
|
453 |
-
regenerate_btn = gr.Button(value="🔄 Regenerate", visible=True)
|
454 |
-
with gr.Column(min_width=140):
|
455 |
-
upload_btn = gr.UploadButton("📁 Upload image", file_types=["image"])
|
456 |
# with gr.Group():
|
457 |
# with gr.Row():
|
458 |
# with gr.Column(scale=1, min_width=50):
|
|
|
439 |
# with gr.Column(scale=0.1, min_width=):
|
440 |
# upload_btn = gr.UploadButton("📁 Upload image", file_types=["image"])
|
441 |
with gr.Group():
|
442 |
+
with gr.Row():
|
|
|
443 |
textbox.render()
|
444 |
+
with gr.Row():
|
445 |
+
submit_btn = gr.Button(value="▶️ Submit", visible=True)
|
446 |
+
clear_btn = gr.ClearButton([textbox, imagebox, chatbot], value="🧹 Clear")
|
447 |
+
regenerate_btn = gr.Button(value="🔄 Regenerate", visible=True)
|
448 |
+
upload_btn = gr.UploadButton("📁 Upload image", file_types=["image"])
|
|
|
|
|
|
|
|
|
|
|
|
|
449 |
# with gr.Group():
|
450 |
# with gr.Row():
|
451 |
# with gr.Column(scale=1, min_width=50):
|