Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
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))
|