Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ def get_conversation_history():
|
|
49 |
"""Displays conversation history."""
|
50 |
if not conversation_history:
|
51 |
return "No conversations started."
|
52 |
-
return "\n\n".join([f"**User
|
53 |
|
54 |
def clear_conversation():
|
55 |
"""Clears the conversation history."""
|
|
|
49 |
"""Displays conversation history."""
|
50 |
if not conversation_history:
|
51 |
return "No conversations started."
|
52 |
+
return "\n\n".join([f"**User-** {inp}\n**AI-** {out}" for inp, out in conversation_history])
|
53 |
|
54 |
def clear_conversation():
|
55 |
"""Clears the conversation history."""
|