Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -122,7 +122,7 @@ def inference(text):
|
|
122 |
#client = openai.OpenAI(api_key='your_api_key')
|
123 |
response = client.audio.speech.create(
|
124 |
model="tts-1",
|
125 |
-
voice="
|
126 |
input=text
|
127 |
)
|
128 |
output_file = "tts_output.mp3"
|
|
|
122 |
#client = openai.OpenAI(api_key='your_api_key')
|
123 |
response = client.audio.speech.create(
|
124 |
model="tts-1",
|
125 |
+
voice="nova",
|
126 |
input=text
|
127 |
)
|
128 |
output_file = "tts_output.mp3"
|