IAMTFRMZA commited on
Commit
c171266
·
verified ·
1 Parent(s): 3916e88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -74,12 +74,12 @@ def summary(summarization):
74
  with right:
75
  file_contents = response1.get('answer', '')
76
  file_name = "summarization_result.txt"
77
- st.download_button("Download summery👈", file_contents, file_name=file_name, mime="text/plain")
78
 
79
 
80
  def main():
81
- st.set_page_config("Chat with Multiple PDFs")
82
- st.header("Chat with Multiple PDF 💬")
83
  st.write("---")
84
  with st.container():
85
  with st.sidebar:
@@ -94,10 +94,10 @@ def main():
94
  st.session_state.conversation = get_conversational_chain(vector_store)
95
  st.success("Done")
96
  with st.container():
97
- # Summarization Section
98
- st.subheader("PDF Summarization")
99
  st.write('Click on summary button to get summary on given uploaded file.')
100
- summarization = st.button("Summarize 👍")
101
  summary(summarization)
102
 
103
  st.write("---")
 
74
  with right:
75
  file_contents = response1.get('answer', '')
76
  file_name = "summarization_result.txt"
77
+ st.download_button("Download Summary", file_contents, file_name=file_name, mime="text/plain")
78
 
79
 
80
  def main():
81
+ st.set_page_config("LOR ChatAI")
82
+ st.header("LOR ChatAI")
83
  st.write("---")
84
  with st.container():
85
  with st.sidebar:
 
94
  st.session_state.conversation = get_conversational_chain(vector_store)
95
  st.success("Done")
96
  with st.container():
97
+ # Summarisation Section
98
+ st.subheader("PDF Summarisation")
99
  st.write('Click on summary button to get summary on given uploaded file.')
100
+ summarization = st.button("Summarise")
101
  summary(summarization)
102
 
103
  st.write("---")