Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -41,8 +41,12 @@ if st.button("Generate"):
|
|
41 |
#with st.spinner("Generating response..."):
|
42 |
spin = st.spinner
|
43 |
with c:
|
44 |
-
|
45 |
-
|
|
|
|
|
|
|
|
|
46 |
#c.write(bar)
|
47 |
#c.write(st.spinner)
|
48 |
#bild.empty()
|
|
|
41 |
#with st.spinner("Generating response..."):
|
42 |
spin = st.spinner
|
43 |
with c:
|
44 |
+
with st.spinner("Generating response..."):
|
45 |
+
bar = st.progress(0)
|
46 |
+
time.sleep(5)
|
47 |
+
st.success('Done!')
|
48 |
+
|
49 |
+
|
50 |
#c.write(bar)
|
51 |
#c.write(st.spinner)
|
52 |
#bild.empty()
|