kalpniks commited on
Commit
c62ea80
·
verified ·
1 Parent(s): 76a8928

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -118,8 +118,7 @@ def sign_language_classification(video):
118
  # Yield error message and traceback information in case of an exception
119
  # Flatten traceback to avoid SyntaxError in the generated string
120
  flat_traceback = traceback.format_exc().replace(chr(10), ' | ').replace(chr(13), '')
121
- yield f"Error processing video: {e}", f"Error processing video: {e}
122
- {{flat_traceback}}"
123
 
124
  # Custom CSS for styling (commented out)
125
  # custom_css = """
 
118
  # Yield error message and traceback information in case of an exception
119
  # Flatten traceback to avoid SyntaxError in the generated string
120
  flat_traceback = traceback.format_exc().replace(chr(10), ' | ').replace(chr(13), '')
121
+ yield f"Error processing video: {e}", f"Error processing video: {e}\n{{flat_traceback}}"
 
122
 
123
  # Custom CSS for styling (commented out)
124
  # custom_css = """