Update app.py
Browse files
app.py
CHANGED
@@ -33,10 +33,10 @@ if submit and input:
|
|
33 |
#st.session_state['chat_history'].append(("You",input))
|
34 |
st.subheader("The Response is")
|
35 |
|
36 |
-
for chunk in response:
|
37 |
-
|
38 |
#st.session_state['chat_history'].append(("Bot", chunk.text))
|
39 |
-
|
40 |
#st.write(response.text)
|
41 |
|
42 |
#st.subheader("The Chat history is")
|
|
|
33 |
#st.session_state['chat_history'].append(("You",input))
|
34 |
st.subheader("The Response is")
|
35 |
|
36 |
+
# for chunk in response:
|
37 |
+
# st.write(chunk.parts)
|
38 |
#st.session_state['chat_history'].append(("Bot", chunk.text))
|
39 |
+
st.write(response.parts)
|
40 |
#st.write(response.text)
|
41 |
|
42 |
#st.subheader("The Chat history is")
|