Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ def generate_response(transcribed_text):
|
|
119 |
return response.choices[0].message.content
|
120 |
|
121 |
def inference(text):
|
122 |
-
client = openai.OpenAI(api_key='your_api_key')
|
123 |
response = client.audio.speech.create(
|
124 |
model="tts-1",
|
125 |
voice="alloy",
|
|
|
119 |
return response.choices[0].message.content
|
120 |
|
121 |
def inference(text):
|
122 |
+
#client = openai.OpenAI(api_key='your_api_key')
|
123 |
response = client.audio.speech.create(
|
124 |
model="tts-1",
|
125 |
voice="alloy",
|