mgokg commited on
Commit
6da491c
·
verified ·
1 Parent(s): 48ff132

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -39,14 +39,14 @@ if st.button("Generate"):
39
 
40
  if prompt:
41
  #c.text("Generating response...")
42
- #with st.spinner("Generating response..."):
43
  #spin = st.spinner
44
- with bild:
45
- with st.spinner("Generating response..."):
46
  bar = st.progress(20)
47
  #time.sleep(5)
48
-
49
-
50
 
51
  #c.write(bar)
52
  #c.write(st.spinner)
@@ -61,7 +61,7 @@ if st.button("Generate"):
61
  st.image('./exports/charts/temp_chart.png',caption=None)
62
  #st.write(sdf.chat(prompt))
63
  #bar.progress(100)
64
- st.success('Done!')
65
 
66
  else:
67
 
 
39
 
40
  if prompt:
41
  #c.text("Generating response...")
42
+ with st.spinner("Generating response..."):
43
  #spin = st.spinner
44
+ with bild:
45
+ #with st.spinner("Generating response..."):
46
  bar = st.progress(20)
47
  #time.sleep(5)
48
+ sdf.chat(prompt)
49
+ st.success('Done!')
50
 
51
  #c.write(bar)
52
  #c.write(st.spinner)
 
61
  st.image('./exports/charts/temp_chart.png',caption=None)
62
  #st.write(sdf.chat(prompt))
63
  #bar.progress(100)
64
+
65
 
66
  else:
67