Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -185,8 +185,7 @@ def main():
|
|
185 |
else:
|
186 |
if st.button(f"Chat about Section {i+1}"):
|
187 |
st.write('Reasoning with your inputs...')
|
188 |
-
response =
|
189 |
-
(user_prompt, section) # *************************************
|
190 |
st.write('Response:')
|
191 |
st.write(response)
|
192 |
document_responses[i] = response
|
|
|
185 |
else:
|
186 |
if st.button(f"Chat about Section {i+1}"):
|
187 |
st.write('Reasoning with your inputs...')
|
188 |
+
response = chat_with_model(user_prompt, section) # *************************************
|
|
|
189 |
st.write('Response:')
|
190 |
st.write(response)
|
191 |
document_responses[i] = response
|