Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -204,7 +204,6 @@ def gradio_reset(chat_state, img_list):
|
|
| 204 |
img_list = None
|
| 205 |
return None, gr.update(value=None, interactive=True), gr.update(placeholder='Please upload your video first', interactive=False),gr.update(value="Upload & Start Chat", interactive=True), chat_state, img_list
|
| 206 |
|
| 207 |
-
@spaces.GPU
|
| 208 |
def upload_img( gr_video, num_segments, hd_num, padding):
|
| 209 |
img_list = []
|
| 210 |
if gr_video is None:
|
|
|
|
| 204 |
img_list = None
|
| 205 |
return None, gr.update(value=None, interactive=True), gr.update(placeholder='Please upload your video first', interactive=False),gr.update(value="Upload & Start Chat", interactive=True), chat_state, img_list
|
| 206 |
|
|
|
|
| 207 |
def upload_img( gr_video, num_segments, hd_num, padding):
|
| 208 |
img_list = []
|
| 209 |
if gr_video is None:
|