sotosbarl commited on
Commit
ad29c8b
·
verified ·
1 Parent(s): f55f5c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ if text:
71
 
72
 
73
 
74
- st.session_state.history += "Based on the following information" + answer +"answer this question by reasoning step by step:" + text # Add new text to history
75
  out = pipe(st.session_state.history, max_new_tokens=20, do_sample=True, temperature=0.7, top_k=50, top_p=0.95) # Generate output based on history
76
 
77
 
 
71
 
72
 
73
 
74
+ st.session_state.history += "Based on this info only:" + answer +" ,answer this question, by reasoning step by step:" + text # Add new text to history
75
  out = pipe(st.session_state.history, max_new_tokens=20, do_sample=True, temperature=0.7, top_k=50, top_p=0.95) # Generate output based on history
76
 
77