Spaces:
Running
Running
additional test code added
Browse files
app.py
CHANGED
@@ -9,6 +9,9 @@ from Wav2Lip.video_generator import create_video
|
|
9 |
from diffusers import StableDiffusionPipeline
|
10 |
from diffusers import LMSDiscreteScheduler
|
11 |
|
|
|
|
|
|
|
12 |
gpu = False
|
13 |
model_path = Path(r"tts_model/model_file.pth")
|
14 |
config_path = Path(r"tts_model/config.json")
|
|
|
9 |
from diffusers import StableDiffusionPipeline
|
10 |
from diffusers import LMSDiscreteScheduler
|
11 |
|
12 |
+
if not os.path.exists('temp'):
|
13 |
+
os.mkdir('temp')
|
14 |
+
|
15 |
gpu = False
|
16 |
model_path = Path(r"tts_model/model_file.pth")
|
17 |
config_path = Path(r"tts_model/config.json")
|