Spaces:
Running
Running
Chandima Prabhath
commited on
Commit
·
3ea99b4
1
Parent(s):
7cda32d
Refactor voice reply prompt to enhance tone; adjust wording for a more friendly and playful delivery.
Browse files
app.py
CHANGED
@@ -279,7 +279,7 @@ def _fn_generate_images(message_id: str, chat_id: str, prompt: str,
|
|
279 |
|
280 |
def _fn_voice_reply(message_id: str, chat_id: str, prompt: str, **_):
|
281 |
proc = (
|
282 |
-
f"Just say this exactly as written in a
|
283 |
f"happy and helpful but a little bit clumsy-cute way: {prompt}"
|
284 |
)
|
285 |
res = generate_voice_reply(proc, model="openai-audio", voice="coral", audio_dir=BotConfig.AUDIO_DIR)
|
|
|
279 |
|
280 |
def _fn_voice_reply(message_id: str, chat_id: str, prompt: str, **_):
|
281 |
proc = (
|
282 |
+
f"Just say this exactly as written in a friendly, playful, "
|
283 |
f"happy and helpful but a little bit clumsy-cute way: {prompt}"
|
284 |
)
|
285 |
res = generate_voice_reply(proc, model="openai-audio", voice="coral", audio_dir=BotConfig.AUDIO_DIR)
|