Spaces:
Running on Zero
Running on Zero
Pin the weights' revision, and label the output as the speech it holds.
Browse files
app.py
CHANGED
|
@@ -42,6 +42,7 @@ def download_weights():
|
|
| 42 |
print("Downloading model weights from HuggingFace...")
|
| 43 |
snapshot_download(
|
| 44 |
repo_id=repo_id,
|
|
|
|
| 45 |
local_dir=weights_dir,
|
| 46 |
local_dir_use_symlinks=False
|
| 47 |
)
|
|
@@ -245,7 +246,7 @@ if __name__ == "__main__":
|
|
| 245 |
info="Increase this for a stronger likeness to the reference voice."
|
| 246 |
)
|
| 247 |
|
| 248 |
-
output_audio = gr.Audio(type="filepath", label="
|
| 249 |
"The text spoken in the reference voice."
|
| 250 |
))
|
| 251 |
|
|
|
|
| 42 |
print("Downloading model weights from HuggingFace...")
|
| 43 |
snapshot_download(
|
| 44 |
repo_id=repo_id,
|
| 45 |
+
revision="b3a2c297eea319931ee985751f117f866085d0c5",
|
| 46 |
local_dir=weights_dir,
|
| 47 |
local_dir_use_symlinks=False
|
| 48 |
)
|
|
|
|
| 246 |
info="Increase this for a stronger likeness to the reference voice."
|
| 247 |
)
|
| 248 |
|
| 249 |
+
output_audio = gr.Audio(type="filepath", label="Synthesized Speech").set_info((
|
| 250 |
"The text spoken in the reference voice."
|
| 251 |
))
|
| 252 |
|