Update app.py
Browse files
app.py
CHANGED
@@ -184,14 +184,6 @@ with demo:
|
|
184 |
],
|
185 |
submission_result,
|
186 |
)
|
187 |
-
import gradio as gr
|
188 |
-
|
189 |
-
def slow_echo(message, history):
|
190 |
-
return message
|
191 |
-
|
192 |
-
demo = gr.ChatInterface(slow_echo).queue().launch()
|
193 |
-
|
194 |
-
|
195 |
start_button = gr.Button("Start", elem_id="start_button")
|
196 |
scheduler = BackgroundScheduler()
|
197 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|
|
|
184 |
],
|
185 |
submission_result,
|
186 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
187 |
start_button = gr.Button("Start", elem_id="start_button")
|
188 |
scheduler = BackgroundScheduler()
|
189 |
scheduler.add_job(restart_space, "interval", seconds=1800)
|