zahraanaji commited on
Commit
f58b743
·
verified ·
1 Parent(s): ba5c28f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -91,8 +91,7 @@ if pdf_file is not None:
91
  # Process the question
92
  res = chain({"question": question})
93
  answer = res["answer"]
94
- st.write_stream(f"{answer}")
95
- # st.write(f"{answer}")
96
  # st.text(f"{answer}")
97
 
98
  except Exception as e:
 
91
  # Process the question
92
  res = chain({"question": question})
93
  answer = res["answer"]
94
+ st.write(f"{answer}")
 
95
  # st.text(f"{answer}")
96
 
97
  except Exception as e: