Spaces:
Runtime error
Runtime error
jonathanagustin
commited on
Commit
•
8263fd0
1
Parent(s):
b5e0c7b
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def main():
|
|
72 |
"""
|
73 |
MODEL_OPTIONS = ["tts-1", "tts-1-hd"]
|
74 |
VOICE_OPTIONS = ["Alloy", "Echo", "Fable", "Onyx", "Nova", "Shimmer"]
|
75 |
-
RESPONSE_FORMAT_OPTIONS = ["mp3", "opus", "aac", "flac", "wav"
|
76 |
VOICE_PREVIEW_FILES = {voice: f"{voice}.wav" for voice in VOICE_OPTIONS}
|
77 |
|
78 |
with gr.Blocks(title="OpenAI - Text to Speech") as demo:
|
|
|
72 |
"""
|
73 |
MODEL_OPTIONS = ["tts-1", "tts-1-hd"]
|
74 |
VOICE_OPTIONS = ["Alloy", "Echo", "Fable", "Onyx", "Nova", "Shimmer"]
|
75 |
+
RESPONSE_FORMAT_OPTIONS = ["mp3", "opus", "aac", "flac", "wav"]
|
76 |
VOICE_PREVIEW_FILES = {voice: f"{voice}.wav" for voice in VOICE_OPTIONS}
|
77 |
|
78 |
with gr.Blocks(title="OpenAI - Text to Speech") as demo:
|