mgokg commited on
Commit
c85aadf
·
verified ·
1 Parent(s): 884b15d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -2
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
- spin
45
- bar = st.progress(0)
 
 
 
 
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()