app.py
Browse files
app.py
CHANGED
@@ -63,11 +63,15 @@ def make_me():
|
|
63 |
with gr.Row():
|
64 |
gr.HTML("")
|
65 |
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
|
|
71 |
|
72 |
-
demo
|
73 |
-
demo.
|
|
|
|
|
|
|
|
63 |
with gr.Row():
|
64 |
gr.HTML("")
|
65 |
|
66 |
+
try:
|
67 |
+
with gr.Blocks(theme="DazDin/Go_Theme") as demo:
|
68 |
+
make_me()
|
69 |
+
except Exception as e:
|
70 |
+
print(f"An error occurred while setting up the Gradio interface: {e}")
|
71 |
+
demo = None
|
72 |
|
73 |
+
if demo is not None:
|
74 |
+
demo.queue(concurrency_count=100)
|
75 |
+
demo.launch()
|
76 |
+
else:
|
77 |
+
print("Failed to set up the Gradio interface. Exiting.")
|