Spaces:
Running
Running
jonathanagustin
commited on
Commit
•
bc73de2
1
Parent(s):
f43c5ad
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ def main():
|
|
87 |
response = requests.get(audio_url)
|
88 |
response.raise_for_status()
|
89 |
audio_data = response.content
|
90 |
-
gr.Audio(value=audio_data, label=f"{voice.capitalize()}
|
91 |
except requests.exceptions.RequestException as e:
|
92 |
gr.Markdown(f"Could not load preview for {voice.capitalize()}: {e}")
|
93 |
|
|
|
87 |
response = requests.get(audio_url)
|
88 |
response.raise_for_status()
|
89 |
audio_data = response.content
|
90 |
+
gr.Audio(value=audio_data, label=f"{voice.capitalize()}", autoplay=False)
|
91 |
except requests.exceptions.RequestException as e:
|
92 |
gr.Markdown(f"Could not load preview for {voice.capitalize()}: {e}")
|
93 |
|