Sandaruth commited on
Commit
d5141e4
1 Parent(s): 26e663a
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -33,16 +33,16 @@ def main():
33
  user_input = st.text_input("Enter your message:")
34
  if st.button("Send"):
35
  response, metadata, source_documents = chatbot_response(user_input)
36
- st.text_area("Chatbot Response:", value=response, height=400)
37
 
38
- st.markdown("### Metadata:")
39
  if metadata:
40
  for value in metadata:
41
  st.write(f"{value}")
42
  else:
43
  st.write("No metadata available.")
44
 
45
- st.markdown("### Source Documents:")
46
  if source_documents:
47
  for doc in source_documents:
48
  pass
 
33
  user_input = st.text_input("Enter your message:")
34
  if st.button("Send"):
35
  response, metadata, source_documents = chatbot_response(user_input)
36
+ st.text_area("Chatbot Response:", value=response, height=200)
37
 
38
+ st.markdown("### Source Documents:")
39
  if metadata:
40
  for value in metadata:
41
  st.write(f"{value}")
42
  else:
43
  st.write("No metadata available.")
44
 
45
+ # st.markdown("### Source Documents:")
46
  if source_documents:
47
  for doc in source_documents:
48
  pass