Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,14 +8,15 @@ from pandasai.responses.streamlit_response import StreamlitResponse
|
|
8 |
#from pandasai import Agent
|
9 |
#import json
|
10 |
#import matplotlib.pyplot as plt
|
|
|
|
|
|
|
|
|
11 |
uploaded_files = st.file_uploader("Choose a CSV file", accept_multiple_files=True)
|
12 |
for uploaded_file in uploaded_files:
|
13 |
bytes_data = uploaded_file.read()
|
14 |
st.write("filename:", uploaded_file.name)
|
15 |
st.write(bytes_data)
|
16 |
-
os.environ['PANDASAI_API_KEY'] = "$2a$10$2s0v3C29vItNS2CO4QX10OV51/OONFCUNa4e9EU90w2Gozw88f4vK"
|
17 |
-
|
18 |
-
st.set_page_config(page_title="SAP Data Analysis", layout="wide")
|
19 |
st.image('Pandas-AI-Logo.png', caption=None)
|
20 |
#import pandas as pd
|
21 |
uploaded_file = st.file_uploader("Upload CSV data for analysis", type=['csv'])
|
|
|
8 |
#from pandasai import Agent
|
9 |
#import json
|
10 |
#import matplotlib.pyplot as plt
|
11 |
+
|
12 |
+
os.environ['PANDASAI_API_KEY'] = "$2a$10$2s0v3C29vItNS2CO4QX10OV51/OONFCUNa4e9EU90w2Gozw88f4vK"
|
13 |
+
|
14 |
+
st.set_page_config(page_title="SAP Data Analysis", layout="wide")
|
15 |
uploaded_files = st.file_uploader("Choose a CSV file", accept_multiple_files=True)
|
16 |
for uploaded_file in uploaded_files:
|
17 |
bytes_data = uploaded_file.read()
|
18 |
st.write("filename:", uploaded_file.name)
|
19 |
st.write(bytes_data)
|
|
|
|
|
|
|
20 |
st.image('Pandas-AI-Logo.png', caption=None)
|
21 |
#import pandas as pd
|
22 |
uploaded_file = st.file_uploader("Upload CSV data for analysis", type=['csv'])
|