Seraph19 commited on
Commit
5341a15
·
verified ·
1 Parent(s): 88e58cf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -184,6 +184,12 @@ with demo:
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)
 
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()
193
  start_button = gr.Button("Start", elem_id="start_button")
194
  scheduler = BackgroundScheduler()
195
  scheduler.add_job(restart_space, "interval", seconds=1800)