tomerk commited on
Commit
a68a97f
·
verified ·
1 Parent(s): bf4c193

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ def check_condition(prompt, base64Frames):
140
  processing_time = end_time - start_time
141
  frames_count = len(base64Frames)
142
  api_response = response.choices[0].message.content
143
- except Error as e:
144
  print('error from openai', e)
145
  return 0, 0, {"condition_met": False}
146
 
 
140
  processing_time = end_time - start_time
141
  frames_count = len(base64Frames)
142
  api_response = response.choices[0].message.content
143
+ except Exception as e:
144
  print('error from openai', e)
145
  return 0, 0, {"condition_met": False}
146