anonymous8 commited on
Commit
7213dec
1 Parent(s): 69faf51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -188,11 +188,11 @@ def check_gpu():
188
 
189
 
190
  if __name__ == "__main__":
191
- # try:
192
- # init()
193
- # except Exception as e:
194
- # print(e)
195
- # print("Failed to initialize the demo. Please try again later.")
196
 
197
  demo = gr.Blocks()
198
 
188
 
189
 
190
  if __name__ == "__main__":
191
+ try:
192
+ init()
193
+ except Exception as e:
194
+ print(e)
195
+ print("Failed to initialize the demo. Please try again later.")
196
 
197
  demo = gr.Blocks()
198