DazDin commited on
Commit
0b4aa7f
·
verified ·
1 Parent(s): bca3fee
Files changed (1) hide show
  1. app.py +4 -11
app.py CHANGED
@@ -63,15 +63,8 @@ def make_me():
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.")
 
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()