nrohan988 commited on
Commit
3c04658
·
verified ·
1 Parent(s): 33c7f43

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- st.write(chunk.parts)
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")