Spaces:
Runtime error
Runtime error
bhaskartripathi
commited on
Commit
•
ebffb23
1
Parent(s):
22037fc
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def get_text_response(prompt,openAI_key):
|
|
19 |
return message
|
20 |
|
21 |
def text_to_speech(text, output_file):
|
22 |
-
tts = gTTS(text=text, lang='en', tld='co.
|
23 |
tts.save(output_file)
|
24 |
|
25 |
def chat_and_animate(output_file, user_prompt,openAI_key):
|
|
|
19 |
return message
|
20 |
|
21 |
def text_to_speech(text, output_file):
|
22 |
+
tts = gTTS(text=text, lang='en', tld='co.uk')
|
23 |
tts.save(output_file)
|
24 |
|
25 |
def chat_and_animate(output_file, user_prompt,openAI_key):
|