Flux9665 commited on
Commit
8561621
β€’
1 Parent(s): d7c726f

try to figure out how ZeroGPU works

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ import spaces
4
 
5
  from run_model_downloader import download_models
6
 
7
- download_models()
 
8
  import multiprocessing
9
 
10
  multiprocessing.set_start_method("spawn", force=True)
 
4
 
5
  from run_model_downloader import download_models
6
 
7
+ if not os.path.exists("Models/ToucanTTS_Meta/best.pt"):
8
+ download_models()
9
  import multiprocessing
10
 
11
  multiprocessing.set_start_method("spawn", force=True)