BroBro87 commited on
Commit
368b977
·
1 Parent(s): e9fa13e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def main():
71
  docs = index.similarity_search(user_input)
72
 
73
  # Display response
74
- st.text_area("ChatGPT Response:", response, height=100)
75
 
76
  if __name__ == "__main__":
77
  main()
 
71
  docs = index.similarity_search(user_input)
72
 
73
  # Display response
74
+ st.text_area("ChatGPT Response:", docs[0], height=100)
75
 
76
  if __name__ == "__main__":
77
  main()