Spaces:
Runtime error
Runtime error
updated scale for textbox
Browse files- app_dialogue.py +1 -5
app_dialogue.py
CHANGED
@@ -314,6 +314,7 @@ textbox = gr.Textbox(
|
|
314 |
visible=True,
|
315 |
container=False,
|
316 |
label="Text input",
|
|
|
317 |
)
|
318 |
with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
|
319 |
gr.HTML("""<h1 align="center">๐ถ IDEFICS Playground - EMBARGO UNTIL AUGUST 22ND</h1>""") # TODO remove embargo
|
@@ -383,15 +384,10 @@ with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
|
|
383 |
|
384 |
with gr.Group():
|
385 |
with gr.Row():
|
386 |
-
with gr.Column(scale=0.6):
|
387 |
textbox.render()
|
388 |
-
with gr.Column(scale=0.1, min_width=80):
|
389 |
submit_btn = gr.Button(value="โถ๏ธ Submit", visible=True)
|
390 |
-
with gr.Column(scale=0.1, min_width=0):
|
391 |
clear_btn = gr.ClearButton([textbox, imagebox, chatbot], value="๐งน Clear")
|
392 |
-
with gr.Column(scale=0.1, min_width=0):
|
393 |
regenerate_btn = gr.Button(value="๐ Regenerate", visible=True)
|
394 |
-
with gr.Column(scale=0.1, min_width=0):
|
395 |
upload_btn = gr.UploadButton("๐ Upload image", file_types=["image"])
|
396 |
# with gr.Group():
|
397 |
# with gr.Row():
|
|
|
314 |
visible=True,
|
315 |
container=False,
|
316 |
label="Text input",
|
317 |
+
scale=6,
|
318 |
)
|
319 |
with gr.Blocks(title="IDEFICS Playground", theme=gr.themes.Base()) as demo:
|
320 |
gr.HTML("""<h1 align="center">๐ถ IDEFICS Playground - EMBARGO UNTIL AUGUST 22ND</h1>""") # TODO remove embargo
|
|
|
384 |
|
385 |
with gr.Group():
|
386 |
with gr.Row():
|
|
|
387 |
textbox.render()
|
|
|
388 |
submit_btn = gr.Button(value="โถ๏ธ Submit", visible=True)
|
|
|
389 |
clear_btn = gr.ClearButton([textbox, imagebox, chatbot], value="๐งน Clear")
|
|
|
390 |
regenerate_btn = gr.Button(value="๐ Regenerate", visible=True)
|
|
|
391 |
upload_btn = gr.UploadButton("๐ Upload image", file_types=["image"])
|
392 |
# with gr.Group():
|
393 |
# with gr.Row():
|