tomerk commited on
Commit
901a746
·
verified ·
1 Parent(s): c91ed12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -261,7 +261,7 @@ with gr.Blocks(title="Conntour", fill_height=True) as demo:
261
  prompt = gr.Textbox(label="Enter your prompt alert")
262
  start_btn = gr.Button("Start")
263
  stop_btn = gr.Button("Stop")
264
- start_btn.click(analyze_video_file, inputs=[prompt, chatbot], outputs=[chatbot], queue=True)
265
  stop_btn.click(stop_capture_func)
266
 
267
  demo.launch(favicon_path='favicon.ico', auth=(user_name, password))
 
261
  prompt = gr.Textbox(label="Enter your prompt alert")
262
  start_btn = gr.Button("Start")
263
  stop_btn = gr.Button("Stop")
264
+ start_btn.click(analyze_stream, inputs=[prompt, chatbot], outputs=[chatbot], queue=True)
265
  stop_btn.click(stop_capture_func)
266
 
267
  demo.launch(favicon_path='favicon.ico', auth=(user_name, password))