Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -73,7 +73,7 @@ if text:
|
|
73 |
|
74 |
st.session_state.history += "Based on the following information" + answer +"answer this question:" + text + "by reasoning step by step" # Add new text to history
|
75 |
# out = pipe(st.session_state.history) # Generate output based on history
|
76 |
-
content = "You are a friendly chatbot who answers question based on
|
77 |
messages = [
|
78 |
{
|
79 |
"role": "system",
|
|
|
73 |
|
74 |
st.session_state.history += "Based on the following information" + answer +"answer this question:" + text + "by reasoning step by step" # Add new text to history
|
75 |
# out = pipe(st.session_state.history) # Generate output based on history
|
76 |
+
content = "You are a friendly chatbot who answers question based only on this info:" + answer
|
77 |
messages = [
|
78 |
{
|
79 |
"role": "system",
|