Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,9 +12,10 @@ uploaded_file = st.file_uploader("Choose a csv file")
|
|
| 12 |
if uploaded_file is not None:
|
| 13 |
dataframe = pd.read_csv(uploaded_file)
|
| 14 |
if query:
|
| 15 |
-
|
| 16 |
st.markdown('**Prediction**')
|
| 17 |
-
|
|
|
|
| 18 |
st.dataframe(dataframe)
|
| 19 |
|
| 20 |
|
|
|
|
| 12 |
if uploaded_file is not None:
|
| 13 |
dataframe = pd.read_csv(uploaded_file)
|
| 14 |
if query:
|
| 15 |
+
query_results = execute_query(query.split(','), dataframe)
|
| 16 |
st.markdown('**Prediction**')
|
| 17 |
+
for query_result in query_results:
|
| 18 |
+
st.markdown('_'+query_result+'_')
|
| 19 |
st.dataframe(dataframe)
|
| 20 |
|
| 21 |
|