Spaces:
Running
on
T4
Running
on
T4
try to figure out how ZeroGPU works
Browse files
app.py
CHANGED
@@ -4,7 +4,8 @@ import spaces
|
|
4 |
|
5 |
from run_model_downloader import download_models
|
6 |
|
7 |
-
|
|
|
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)
|