Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -102,11 +102,6 @@ def clsynthesize(text, voice, vcsteps, embscale, alpha, beta, progress=gr.Progre
|
|
102 |
|
103 |
random.seed(0)
|
104 |
|
105 |
-
sampler = DiffusionSampler(
|
106 |
-
model.diffusion.diffusion,
|
107 |
-
sampler=ADPM2Sampler(),
|
108 |
-
sigma_schedule=KarrasSchedule(sigma_min=0.0001, sigma_max=0.75, rho=4.), # empirical parameters
|
109 |
-
clamp=False)
|
110 |
# if text.strip() == "":
|
111 |
# raise gr.Error("You must enter some text")
|
112 |
# # if global_phonemizer.phonemize([text]) > 300:
|
@@ -147,11 +142,7 @@ def ljsynthesize(text, steps,embscale, progress=gr.Progress()):
|
|
147 |
|
148 |
random.seed(0)
|
149 |
|
150 |
-
|
151 |
-
model.diffusion.diffusion,
|
152 |
-
sampler=ADPM2Sampler(),
|
153 |
-
sigma_schedule=KarrasSchedule(sigma_min=0.0001, sigma_max=0.75, rho=4.), # empirical parameters
|
154 |
-
clamp=False)
|
155 |
|
156 |
# if text.strip() == "":
|
157 |
# raise gr.Error("You must enter some text")
|
|
|
102 |
|
103 |
random.seed(0)
|
104 |
|
|
|
|
|
|
|
|
|
|
|
105 |
# if text.strip() == "":
|
106 |
# raise gr.Error("You must enter some text")
|
107 |
# # if global_phonemizer.phonemize([text]) > 300:
|
|
|
142 |
|
143 |
random.seed(0)
|
144 |
|
145 |
+
|
|
|
|
|
|
|
|
|
146 |
|
147 |
# if text.strip() == "":
|
148 |
# raise gr.Error("You must enter some text")
|