Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ with gr.Blocks() as demo:
|
|
55 |
gr_radio_mode = gr.Radio(label="Select Mode", choices=["Real-Time Commentary", "Conversation"], elem_id="gr_radio_mode", value='Real-Time Commentary', interactive=True)
|
56 |
|
57 |
@spaces.GPU
|
58 |
-
def gr_chatinterface_fn(message, state, video_path, mode):
|
59 |
global infer
|
60 |
if infer is None:
|
61 |
infer = _init_infer()
|
|
|
55 |
gr_radio_mode = gr.Radio(label="Select Mode", choices=["Real-Time Commentary", "Conversation"], elem_id="gr_radio_mode", value='Real-Time Commentary', interactive=True)
|
56 |
|
57 |
@spaces.GPU
|
58 |
+
def gr_chatinterface_fn(message, history, state, video_path, mode):
|
59 |
global infer
|
60 |
if infer is None:
|
61 |
infer = _init_infer()
|