ZongqianLi commited on
Commit
c007f22
·
verified ·
1 Parent(s): 9f45f9d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -31,6 +31,7 @@ context = st.text_area("Enter the context here")
31
 
32
  # 添加一个按钮,用户点击后执行问答
33
  if st.button('Answer the Question'):
 
34
  if context and question:
35
  out = pipe({
36
  'question': question,
 
31
 
32
  # 添加一个按钮,用户点击后执行问答
33
  if st.button('Answer the Question'):
34
+ progress_bar = st.progress(0)
35
  if context and question:
36
  out = pipe({
37
  'question': question,