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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -40,7 +40,8 @@ if st.button("Generate"):
40
  c.text("Generating response...")
41
  #with st.spinner("Generating response..."):
42
  spin = st.spinner
43
- c.write(spin)
 
44
  bar = st.progress(0)
45
  #c.write(bar)
46
  #c.write(st.spinner)
 
40
  c.text("Generating response...")
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)