Spaces:
Runtime error
Runtime error
Commit
·
a608f56
1
Parent(s):
5b0a6ee
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ if user_input:
|
|
33 |
response = model.generate_content(chat_history)
|
34 |
|
35 |
# Get response text from response object
|
36 |
-
response_text = response.
|
37 |
|
38 |
# Add response message to chat history
|
39 |
chat_history.append(response_text)
|
|
|
33 |
response = model.generate_content(chat_history)
|
34 |
|
35 |
# Get response text from response object
|
36 |
+
response_text = response.text
|
37 |
|
38 |
# Add response message to chat history
|
39 |
chat_history.append(response_text)
|