mgokg commited on
Commit
9247a78
·
verified ·
1 Parent(s): 51f002e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -24,8 +24,8 @@ df = pd.DataFrame(data)
24
  if uploaded_file is not None:
25
 
26
  df1 = pd.read_csv(uploaded_file)
27
- #st.table(df1)
28
- df1
29
  sdf = SmartDataframe(df1)
30
 
31
  container=st.empty
@@ -39,7 +39,7 @@ if st.button("Generate"):
39
  bar = st.progress(0)
40
  #sdf = SmartDataframe(df1)
41
  #container.empty
42
- container.write(sdf.chat(prompt))
43
  st.image('./exports/charts/temp_chart.png',caption=None)
44
  #st.write(sdf.chat(prompt))
45
  bar.progress(100)
 
24
  if uploaded_file is not None:
25
 
26
  df1 = pd.read_csv(uploaded_file)
27
+ st.table(df1)
28
+ #df1
29
  sdf = SmartDataframe(df1)
30
 
31
  container=st.empty
 
39
  bar = st.progress(0)
40
  #sdf = SmartDataframe(df1)
41
  #container.empty
42
+ sdf.chat(prompt)
43
  st.image('./exports/charts/temp_chart.png',caption=None)
44
  #st.write(sdf.chat(prompt))
45
  bar.progress(100)