Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
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 |
-
|
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)
|