sotosbarl commited on
Commit
a7e6f2a
·
verified ·
1 Parent(s): 2bf7bcc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -72,7 +72,8 @@ 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) # Generate output based on history
 
76
 
77
  st.text(st.session_state.history)
78
 
 
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)
79