gblazex commited on
Commit
eefd3f0
·
1 Parent(s): 3f91e4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -460,10 +460,15 @@ with demo:
460
  )
461
 
462
 
 
 
 
463
  with open('output/results.csv', 'w') as f:
464
  f.write('hello world')
465
 
466
  print(f"app start time {time.time() - app_start_time:.2f} seconds")
 
 
467
 
468
  scheduler = BackgroundScheduler()
469
  scheduler.add_job(restart_space, "interval", seconds=1800)
 
460
  )
461
 
462
 
463
+ # blz ---
464
+ import os
465
+ os.makedirs('output', exist_ok=True)
466
  with open('output/results.csv', 'w') as f:
467
  f.write('hello world')
468
 
469
  print(f"app start time {time.time() - app_start_time:.2f} seconds")
470
+ # blz end ----
471
+
472
 
473
  scheduler = BackgroundScheduler()
474
  scheduler.add_job(restart_space, "interval", seconds=1800)