Spaces:
Sleeping
Sleeping
Update streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -19,7 +19,7 @@ if uploaded_file is not None:
|
|
19 |
|
20 |
if st.button("Get Predictions"):
|
21 |
# Prepare the file for API request
|
22 |
-
files = {"file": ("
|
23 |
|
24 |
try:
|
25 |
# Make request to the backend API
|
|
|
19 |
|
20 |
if st.button("Get Predictions"):
|
21 |
# Prepare the file for API request
|
22 |
+
files = {"file": ("data.csv", uploaded_file.getvalue(), "text/csv")}
|
23 |
|
24 |
try:
|
25 |
# Make request to the backend API
|