Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -147,7 +147,7 @@ def process_clip(prompt, frames, chatbot):
|
|
147 |
|
148 |
if api_response["condition_met"] == True:
|
149 |
finish_time = datetime.now(israel_tz).strftime('%H:%M:%S')
|
150 |
-
video_clip_path =
|
151 |
chatbot.append(((video_clip_path,), None))
|
152 |
chatbot.append((f"Time: {start_time}\nDetails: {api_response.get('details', '')}", None))
|
153 |
|
|
|
147 |
|
148 |
if api_response["condition_met"] == True:
|
149 |
finish_time = datetime.now(israel_tz).strftime('%H:%M:%S')
|
150 |
+
video_clip_path = encode_to_video_fast(frames, fps)
|
151 |
chatbot.append(((video_clip_path,), None))
|
152 |
chatbot.append((f"Time: {start_time}\nDetails: {api_response.get('details', '')}", None))
|
153 |
|