app.py
Browse files
app.py
CHANGED
|
@@ -63,15 +63,8 @@ def make_me():
|
|
| 63 |
with gr.Row():
|
| 64 |
gr.HTML("")
|
| 65 |
|
| 66 |
-
|
| 67 |
-
|
| 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 |
-
|
| 74 |
-
|
| 75 |
-
demo.launch()
|
| 76 |
-
else:
|
| 77 |
-
print("Failed to set up the Gradio interface. Exiting.")
|
|
|
|
| 63 |
with gr.Row():
|
| 64 |
gr.HTML("")
|
| 65 |
|
| 66 |
+
with gr.Blocks(theme=DazDin/Go_Theme) as demo:
|
| 67 |
+
make_me()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
|
| 69 |
+
demo.queue(concurrency_count=100)
|
| 70 |
+
demo.launch()
|
|
|
|
|
|
|
|
|