Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def generate_text(image, task, input_text=None):
|
|
62 |
# Define the Gradio interface
|
63 |
with gr.Blocks() as demo:
|
64 |
chatbot = gr.Chatbot([], elem_id="chatbot", show_copy_button=True)
|
65 |
-
with gr.
|
66 |
with gr.Row():
|
67 |
image_input = gr.Image(label="Upload an image")
|
68 |
task_input = gr.Radio(choices=["caption", "tag", "vqa"], value="caption", label="Select a task")
|
|
|
62 |
# Define the Gradio interface
|
63 |
with gr.Blocks() as demo:
|
64 |
chatbot = gr.Chatbot([], elem_id="chatbot", show_copy_button=True)
|
65 |
+
with with gr.Group():
|
66 |
with gr.Row():
|
67 |
image_input = gr.Image(label="Upload an image")
|
68 |
task_input = gr.Radio(choices=["caption", "tag", "vqa"], value="caption", label="Select a task")
|