Seraph19 commited on
Commit
676e597
1 Parent(s): 95ff898

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -184,17 +184,15 @@ submit_button.click(
184
  ],
185
  submission_result,
186
  )
187
- # ... (your existing code)
188
-
189
  with demo:
190
  gr.HTML(TITLE)
191
  gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
192
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
193
  # ... (your tabs content)
194
  # ... (your submission form)
195
-
196
- start_button = gr.Button("Start", elem_id="start_button") # Remove the extra indentation
197
  scheduler = BackgroundScheduler()
198
  scheduler.add_job(restart_space, "interval", seconds=1800)
199
  scheduler.start()
200
- demo.queue(default_concurrency_limit=40).launch()
 
184
  ],
185
  submission_result,
186
  )
 
 
187
  with demo:
188
  gr.HTML(TITLE)
189
  gr.Markdown(INTRODUCTION_TEXT, elem_classes="markdown-text")
190
  with gr.Tabs(elem_classes="tab-buttons") as tabs:
191
  # ... (your tabs content)
192
  # ... (your submission form)
193
+
194
+ start_button = gr.Button("Start", elem_id="start_button")
195
  scheduler = BackgroundScheduler()
196
  scheduler.add_job(restart_space, "interval", seconds=1800)
197
  scheduler.start()
198
+ demo.queue(default_concurrency_limit=40).launch()