Spaces:
Runtime error
Runtime error
Commit ·
4b50858
1
Parent(s): 0e08015
Update app.py
Browse files
app.py
CHANGED
|
@@ -104,7 +104,7 @@ def chat(input_text):
|
|
| 104 |
if "Rena:" in response:
|
| 105 |
response = response.replace("Rena:", "").strip()
|
| 106 |
if "Assitant:" in response:
|
| 107 |
-
response = response.replace(Assitant:", "").strip()
|
| 108 |
|
| 109 |
# Add Rena's response to the conversation history
|
| 110 |
conversation_history.append(f"Rena: {response}")
|
|
|
|
| 104 |
if "Rena:" in response:
|
| 105 |
response = response.replace("Rena:", "").strip()
|
| 106 |
if "Assitant:" in response:
|
| 107 |
+
response = response.replace("Assitant:", "").strip()
|
| 108 |
|
| 109 |
# Add Rena's response to the conversation history
|
| 110 |
conversation_history.append(f"Rena: {response}")
|