mphycx commited on
Commit
b85d554
1 Parent(s): 2a4db2f

fix opening chat

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,9 +95,9 @@ def main():
95
  result = result_to_dict(r, 1)
96
 
97
  # concatenate reply
98
- reply_summary = "Hello there. I'm **pdfGPT-chat**.\nHere is a **summary** of your PDF:\n\n"
99
  reply_summary += result["answer"]
100
- reply_summary += "\n\nDo you have any **question** about your PDF?"
101
 
102
  if len(st.session_state["past"]) == 1:
103
  st.session_state["generated"][0] = reply_summary
 
95
  result = result_to_dict(r, 1)
96
 
97
  # concatenate reply
98
+ reply_summary = "Hello there. I'm pdfGPT-chat.\nHere is a summary of your PDF:\n\n"
99
  reply_summary += result["answer"]
100
+ reply_summary += "\n\nDo you have any question about your PDF?"
101
 
102
  if len(st.session_state["past"]) == 1:
103
  st.session_state["generated"][0] = reply_summary