Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ if text:
|
|
71 |
|
72 |
|
73 |
|
74 |
-
st.session_state.history += "Based on
|
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 |
|