Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
d1b43bd
1
Parent(s):
9a1832e
fix gif upload bug
Browse files
app.py
CHANGED
@@ -161,7 +161,7 @@ with gr.Blocks(title="Tarsier",theme=gvlabtheme,css="#chatbot {overflow:auto; he
|
|
161 |
with gr.Tab("Image", elem_id='image_tab'):
|
162 |
up_image = gr.Image(type="filepath", interactive=True, elem_id="image_upload", height=360)
|
163 |
with gr.Tab("GIF", elem_id='gif_tab'):
|
164 |
-
up_gif = gr.File(type="filepath", file_count="single", file_types=["gif"], interactive=True, elem_id="gif_upload", height=360)
|
165 |
upload_button = gr.Button(value="Upload & Start Chat", interactive=True, variant="primary")
|
166 |
clear = gr.Button("Restart")
|
167 |
|
|
|
161 |
with gr.Tab("Image", elem_id='image_tab'):
|
162 |
up_image = gr.Image(type="filepath", interactive=True, elem_id="image_upload", height=360)
|
163 |
with gr.Tab("GIF", elem_id='gif_tab'):
|
164 |
+
up_gif = gr.File(type="filepath", file_count="single", file_types=[".gif"], interactive=True, elem_id="gif_upload", height=360)
|
165 |
upload_button = gr.Button(value="Upload & Start Chat", interactive=True, variant="primary")
|
166 |
clear = gr.Button("Restart")
|
167 |
|