Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -63,7 +63,7 @@ with gr.Blocks() as demo:
|
|
| 63 |
with gr.Row():
|
| 64 |
gr_radio_mode = gr.Radio(label="Select Mode", choices=["Real-Time Commentary", "Conversation"], elem_id="gr_radio_mode", value='Real-Time Commentary', interactive=True)
|
| 65 |
|
| 66 |
-
|
| 67 |
def gr_chatinterface_fn(message, history, state, video_path, mode):
|
| 68 |
global gradio_backend
|
| 69 |
if gradio_backend is None:
|
|
|
|
| 63 |
with gr.Row():
|
| 64 |
gr_radio_mode = gr.Radio(label="Select Mode", choices=["Real-Time Commentary", "Conversation"], elem_id="gr_radio_mode", value='Real-Time Commentary', interactive=True)
|
| 65 |
|
| 66 |
+
@spaces.GPU
|
| 67 |
def gr_chatinterface_fn(message, history, state, video_path, mode):
|
| 68 |
global gradio_backend
|
| 69 |
if gradio_backend is None:
|