sotosbarl commited on
Commit
cea1f93
·
verified ·
1 Parent(s): 77e9785

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -69,8 +69,8 @@ if text:
69
  # text_to_translate2 = text[499:999]
70
  # translated_text2 = translator.translate(text_to_translate2)
71
 
72
- with st.beta_expander("View Full Output", expanded=False):
73
- st.write(st.session_state.history, allow_output_mutation=True)
74
 
75
  st.session_state.history += "Based on the following information" + answer +"answer this question by reasoning step by step:" + text # Add new text to history
76
  out = pipe(st.session_state.history) # Generate output based on history
 
69
  # text_to_translate2 = text[499:999]
70
  # translated_text2 = translator.translate(text_to_translate2)
71
 
72
+ ith st.expander("View Full Output", expanded=False):
73
+ st.write(generated_text, allow_output_mutation=True)
74
 
75
  st.session_state.history += "Based on the following information" + answer +"answer this question by reasoning step by step:" + text # Add new text to history
76
  out = pipe(st.session_state.history) # Generate output based on history