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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -72,7 +72,7 @@ if text:
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=256, do_sample=True, temperature=0.7, top_k=50, top_p=0.95) # Generate output based on history
76
 
77
 
78
  st.text(st.session_state.history)
 
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
 
78
  st.text(st.session_state.history)