tomerk commited on
Commit
5d5c12f
·
verified ·
1 Parent(s): 7f6879d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = encode_to_video(frames, fps)
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