rodrigomasini commited on
Commit
b6e74b7
1 Parent(s): f1e655e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -6
app.py CHANGED
@@ -231,12 +231,6 @@ interface = gr.Interface(
231
  scheduler = BackgroundScheduler()
232
  scheduler.add_job(restart_space, "interval", seconds=1800)
233
 
234
- def launch_backend():
235
- import subprocess
236
- from src.backend.envs import DEVICE
237
- if DEVICE not in {'cpu'}:
238
- _ = subprocess.run(["python", "backend-cli.py"])
239
-
240
  scheduler.start()
241
 
242
  interface.launch()
 
231
  scheduler = BackgroundScheduler()
232
  scheduler.add_job(restart_space, "interval", seconds=1800)
233
 
 
 
 
 
 
 
234
  scheduler.start()
235
 
236
  interface.launch()