luulinh90s commited on
Commit
2705074
·
1 Parent(s): 3909e19
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -273,4 +273,8 @@ def completed(filename):
273
 
274
 
275
  if __name__ == '__main__':
276
- app.run(debug=False, port=7860)
 
 
 
 
 
273
 
274
 
275
  if __name__ == '__main__':
276
+ try:
277
+ app.run(debug=False, port=7860)
278
+ except Exception as e:
279
+ logger.exception(f"Failed to start app: {e}")
280
+