mgokg commited on
Commit
18a6c27
·
verified ·
1 Parent(s): 5e28aa6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,7 +30,7 @@ if uploaded_file is not None:
30
  df1
31
  sdf = SmartDataframe(df1)
32
  bild = st.empty()
33
- c = st.container()
34
  c.subheader("Datenanalyse & Datenvisualisierung")
35
  #with placeholder.container():
36
  #st.write("This is one element")
@@ -51,7 +51,7 @@ if st.button("Generate"):
51
  bild.empty()
52
  c.write(sdf.chat(prompt))
53
  if os.path.isfile('./exports/charts/temp_chart.png'):
54
- st.iframe(st.image('./exports/charts/temp_chart.png',caption=None))
55
  #st.write(sdf.chat(prompt))
56
  bar.progress(100)
57
 
 
30
  df1
31
  sdf = SmartDataframe(df1)
32
  bild = st.empty()
33
+ c = st.container(border=True)
34
  c.subheader("Datenanalyse & Datenvisualisierung")
35
  #with placeholder.container():
36
  #st.write("This is one element")
 
51
  bild.empty()
52
  c.write(sdf.chat(prompt))
53
  if os.path.isfile('./exports/charts/temp_chart.png'):
54
+ bild.write(st.iframe(st.image('./exports/charts/temp_chart.png',caption=None)))
55
  #st.write(sdf.chat(prompt))
56
  bar.progress(100)
57