Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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,
|