Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -317,7 +317,7 @@ def bot(state, mode, history):
|
|
317 |
# GPTで英文にする
|
318 |
bot_message = exec_translation(client, user_msg)
|
319 |
|
320 |
-
file_path = exec_text_to_speech(client, voice, user_id, bot_message)
|
321 |
|
322 |
# bot_message = random.choice(["How are you?", "I love you", "I'm very hungry"])
|
323 |
# bot_message = "まず、新宿駅南口に出ます。"
|
|
|
317 |
# GPTで英文にする
|
318 |
bot_message = exec_translation(client, user_msg)
|
319 |
|
320 |
+
file_path = exec_text_to_speech(client, voice, speed, user_id, bot_message)
|
321 |
|
322 |
# bot_message = random.choice(["How are you?", "I love you", "I'm very hungry"])
|
323 |
# bot_message = "まず、新宿駅南口に出ます。"
|