Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import streamlit as st
|
2 |
from main import datachat as dc
|
3 |
|
|
|
|
|
4 |
data_file = r".\world_population_data.csv"
|
5 |
uploaded_file = st.file_uploader("Choose a file")
|
6 |
# Write the uploaded file to a specific location
|
@@ -11,8 +13,6 @@ if uploaded_file is not None:
|
|
11 |
#chat_object= dc(file_path='./data/employees.csv')
|
12 |
chat_object= dc(file_path=data_file)
|
13 |
|
14 |
-
st.title("Data-Engineers-Helper")
|
15 |
-
|
16 |
# Initialize chat history
|
17 |
if "messages" not in st.session_state:
|
18 |
st.session_state.messages = []
|
|
|
1 |
import streamlit as st
|
2 |
from main import datachat as dc
|
3 |
|
4 |
+
st.title("Data-Engineers-Helper")
|
5 |
+
|
6 |
data_file = r".\world_population_data.csv"
|
7 |
uploaded_file = st.file_uploader("Choose a file")
|
8 |
# Write the uploaded file to a specific location
|
|
|
13 |
#chat_object= dc(file_path='./data/employees.csv')
|
14 |
chat_object= dc(file_path=data_file)
|
15 |
|
|
|
|
|
16 |
# Initialize chat history
|
17 |
if "messages" not in st.session_state:
|
18 |
st.session_state.messages = []
|