Update app.py
Browse files
app.py
CHANGED
|
@@ -188,12 +188,13 @@ def check_gpu():
|
|
| 188 |
|
| 189 |
|
| 190 |
if __name__ == "__main__":
|
| 191 |
-
try:
|
| 192 |
-
|
| 193 |
-
except Exception as e:
|
| 194 |
-
|
| 195 |
-
|
| 196 |
-
|
|
|
|
| 197 |
demo = gr.Blocks()
|
| 198 |
|
| 199 |
with demo:
|
|
|
|
| 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 |
+
init()
|
| 197 |
+
|
| 198 |
demo = gr.Blocks()
|
| 199 |
|
| 200 |
with demo:
|