awacke1 commited on
Commit
441e4e3
·
1 Parent(s): 2d3f2d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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