Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ if st.button("Generate"):
|
|
41 |
#c.text("Generating response...")
|
42 |
#with st.spinner("Generating response..."):
|
43 |
#spin = st.spinner
|
44 |
-
with
|
45 |
with st.spinner("Generating response..."):
|
46 |
bar = st.progress(20)
|
47 |
#time.sleep(5)
|
@@ -57,7 +57,8 @@ if st.button("Generate"):
|
|
57 |
bild.write(sdf.chat(prompt))
|
58 |
|
59 |
if os.path.isfile('./exports/charts/temp_chart.png'):
|
60 |
-
bild
|
|
|
61 |
#st.write(sdf.chat(prompt))
|
62 |
#bar.progress(100)
|
63 |
st.success('Done!')
|
|
|
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)
|
|
|
57 |
bild.write(sdf.chat(prompt))
|
58 |
|
59 |
if os.path.isfile('./exports/charts/temp_chart.png'):
|
60 |
+
with bild:
|
61 |
+
st.image('./exports/charts/temp_chart.png',caption=None)
|
62 |
#st.write(sdf.chat(prompt))
|
63 |
#bar.progress(100)
|
64 |
st.success('Done!')
|