Spaces:
Running
Running
remove seed
Browse files
app.py
CHANGED
@@ -80,8 +80,7 @@ def inference(
|
|
80 |
voice_samples=voice_samples,
|
81 |
conditioning_latents=conditioning_latents,
|
82 |
preset="ultra_fast",
|
83 |
-
k=1
|
84 |
-
use_deterministic_seed=seed,
|
85 |
)
|
86 |
|
87 |
audio_ = gen.squeeze(0).cpu()
|
@@ -124,8 +123,6 @@ def main():
|
|
124 |
label="(Optional) Select second voice:",
|
125 |
type="value",
|
126 |
)
|
127 |
-
seed = gr.Number(value=0, precision=0, label="Seed (for reproducibility):")
|
128 |
-
|
129 |
split_by_newline = gr.Radio(
|
130 |
["Yes", "No"],
|
131 |
label="Split by newline (If [No], it will automatically try to find relevant splits):",
|
@@ -143,7 +140,6 @@ def main():
|
|
143 |
script,
|
144 |
voice,
|
145 |
voice_b,
|
146 |
-
seed,
|
147 |
split_by_newline,
|
148 |
],
|
149 |
title=title,
|
|
|
80 |
voice_samples=voice_samples,
|
81 |
conditioning_latents=conditioning_latents,
|
82 |
preset="ultra_fast",
|
83 |
+
k=1
|
|
|
84 |
)
|
85 |
|
86 |
audio_ = gen.squeeze(0).cpu()
|
|
|
123 |
label="(Optional) Select second voice:",
|
124 |
type="value",
|
125 |
)
|
|
|
|
|
126 |
split_by_newline = gr.Radio(
|
127 |
["Yes", "No"],
|
128 |
label="Split by newline (If [No], it will automatically try to find relevant splits):",
|
|
|
140 |
script,
|
141 |
voice,
|
142 |
voice_b,
|
|
|
143 |
split_by_newline,
|
144 |
],
|
145 |
title=title,
|