Spaces:
Sleeping
Sleeping
hashirehtisham
commited on
Commit
•
4387f65
1
Parent(s):
6f22dc8
Update app.py
Browse files
app.py
CHANGED
@@ -116,9 +116,7 @@ if prompt := st.chat_input("What legal question or issue do you need help with?"
|
|
116 |
try:
|
117 |
response = client.chat.completions.create(
|
118 |
model="tiiuae/falcon-180B-chat",
|
119 |
-
messages=
|
120 |
-
{"role": "user", "content": prompt}
|
121 |
-
],
|
122 |
max_tokens=st.session_state.max_tokens,
|
123 |
temperature=st.session_state.temperature,
|
124 |
top_p=st.session_state.top_p
|
|
|
116 |
try:
|
117 |
response = client.chat.completions.create(
|
118 |
model="tiiuae/falcon-180B-chat",
|
119 |
+
messages=st.session_state.messages,
|
|
|
|
|
120 |
max_tokens=st.session_state.max_tokens,
|
121 |
temperature=st.session_state.temperature,
|
122 |
top_p=st.session_state.top_p
|