sotosbarl commited on
Commit
d6d3675
·
verified ·
1 Parent(s): 4484813

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -73,6 +73,8 @@ if text:
73
 
74
  st.session_state.history += "Based on the following information" + answer +"answer this question:" + text # Add new text to history
75
  out = pipe(st.session_state.history) # Generate output based on history
 
 
76
 
77
  translated_text2 = translator2.translate(out[0]['generated_text'])
78
 
 
73
 
74
  st.session_state.history += "Based on the following information" + answer +"answer this question:" + text # Add new text to history
75
  out = pipe(st.session_state.history) # Generate output based on history
76
+
77
+ st.text(st.session_state.history)
78
 
79
  translated_text2 = translator2.translate(out[0]['generated_text'])
80