Rajagopal commited on
Commit
a0b08f0
·
1 Parent(s): 3de3b1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -116,10 +116,12 @@ if st.button("Ask QA "):
116
  st.write(str(chain)[:700])
117
  st.write("AI is reading this [link](%s)" % url)
118
  prgpgress = st.progress(0)
 
119
  for i in range(100):
120
  time.sleep(0.1)
121
  prgpgress.progress(i+1)
122
- st.subheader(colorizedtext("red", yourquestion))
 
123
 
124
 
125
  answer = chain.run(input_documents=documents, question=yourquestion)
 
116
  st.write(str(chain)[:700])
117
  st.write("AI is reading this [link](%s)" % url)
118
  prgpgress = st.progress(0)
119
+ st.subheader(colorizedtext("red", yourquestion))
120
  for i in range(100):
121
  time.sleep(0.1)
122
  prgpgress.progress(i+1)
123
+ if i == 98:
124
+ i = 0
125
 
126
 
127
  answer = chain.run(input_documents=documents, question=yourquestion)