Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ if prompt := st.chat_input("What's your question ?"):
|
|
74 |
# If retries are exhausted, log the error for further investigation
|
75 |
response = "500 An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting"
|
76 |
|
77 |
-
print(response)
|
78 |
st.markdown(response)
|
79 |
# Add assistant response to chat history
|
80 |
st.session_state.messages.append({"role": "assistant", "content": response})
|
|
|
74 |
# If retries are exhausted, log the error for further investigation
|
75 |
response = "500 An internal error has occurred. Please retry or report in https://developers.generativeai.google/guide/troubleshooting"
|
76 |
|
77 |
+
# print(response)
|
78 |
st.markdown(response)
|
79 |
# Add assistant response to chat history
|
80 |
st.session_state.messages.append({"role": "assistant", "content": response})
|