Karthik Raja
commited on
Commit
•
6e231e4
1
Parent(s):
cb47127
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ def chat_with_ai(user_input):
|
|
45 |
# Append assistant message to history
|
46 |
history.append(assistant_message)
|
47 |
|
48 |
-
return assistant_message
|
49 |
|
50 |
def main(user_input):
|
51 |
response = chat_with_ai(user_input)
|
|
|
45 |
# Append assistant message to history
|
46 |
history.append(assistant_message)
|
47 |
|
48 |
+
return assistant_message.content
|
49 |
|
50 |
def main(user_input):
|
51 |
response = chat_with_ai(user_input)
|