Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,14 +39,15 @@ if st.button("Generate"):
|
|
39 |
if prompt:
|
40 |
c.text("Generating response...")
|
41 |
#with st.spinner("Generating response..."):
|
42 |
-
|
|
|
43 |
bar = st.progress(0)
|
44 |
#c.write(bar)
|
45 |
#c.write(st.spinner)
|
46 |
#bild.empty()
|
47 |
if os.path.isfile('./exports/charts/temp_chart.png'):
|
48 |
# Löschen Sie die Datei
|
49 |
-
os.remove(
|
50 |
bild.write(sdf.chat(prompt))
|
51 |
|
52 |
if os.path.isfile('./exports/charts/temp_chart.png'):
|
|
|
39 |
if prompt:
|
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)
|
47 |
#bild.empty()
|
48 |
if os.path.isfile('./exports/charts/temp_chart.png'):
|
49 |
# Löschen Sie die Datei
|
50 |
+
os.remove('./exports/charts/temp_chart.png')
|
51 |
bild.write(sdf.chat(prompt))
|
52 |
|
53 |
if os.path.isfile('./exports/charts/temp_chart.png'):
|