Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,8 +74,10 @@ if prompt := st.chat_input("Hey?"):
|
|
| 74 |
response = st.session_state.chat.send_message([uploaded_gemini_file, "\n\n", prompt])
|
| 75 |
else:
|
| 76 |
# Normal text-only conversation
|
|
|
|
|
|
|
| 77 |
response = st.session_state.chat.send_message(prompt)
|
| 78 |
-
|
| 79 |
# Display last response
|
| 80 |
with st.chat_message("assistant"):
|
| 81 |
st.markdown(response.text)
|
|
|
|
| 74 |
response = st.session_state.chat.send_message([uploaded_gemini_file, "\n\n", prompt])
|
| 75 |
else:
|
| 76 |
# Normal text-only conversation
|
| 77 |
+
print(prompt)
|
| 78 |
+
print("---------")
|
| 79 |
response = st.session_state.chat.send_message(prompt)
|
| 80 |
+
print(response.text)
|
| 81 |
# Display last response
|
| 82 |
with st.chat_message("assistant"):
|
| 83 |
st.markdown(response.text)
|