Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -205,7 +205,7 @@ def analyze_stream(prompt, chatbot):
|
|
205 |
Thread(target=process_clip, args=(prompt, frames.copy(), chatbot, id)).start()
|
206 |
frames = []
|
207 |
start_time = time.time()
|
208 |
-
|
209 |
yield chatbot
|
210 |
|
211 |
cap.release()
|
|
|
205 |
Thread(target=process_clip, args=(prompt, frames.copy(), chatbot, id)).start()
|
206 |
frames = []
|
207 |
start_time = time.time()
|
208 |
+
id=id+1
|
209 |
yield chatbot
|
210 |
|
211 |
cap.release()
|