Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ def generate_speech(name, input_text):
|
|
| 21 |
|
| 22 |
# Append user message to history
|
| 23 |
if name:
|
| 24 |
-
input_text = f"
|
| 25 |
|
| 26 |
# Add user's input to the history
|
| 27 |
history_openai_format.append({"role": "user", "content": input_text})
|
|
|
|
| 21 |
|
| 22 |
# Append user message to history
|
| 23 |
if name:
|
| 24 |
+
input_text = f"I'm {name}. " + input_text
|
| 25 |
|
| 26 |
# Add user's input to the history
|
| 27 |
history_openai_format.append({"role": "user", "content": input_text})
|