Spaces:
Sleeping
Sleeping
Update streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -49,7 +49,7 @@ if uploaded_file is not None:
|
|
49 |
|
50 |
try:
|
51 |
# Make request to the backend API
|
52 |
-
response = requests.post("
|
53 |
|
54 |
if response.status_code == 200:
|
55 |
predictions = response.json()["predictions"]
|
|
|
49 |
|
50 |
try:
|
51 |
# Make request to the backend API
|
52 |
+
response = requests.post("https://huggingface.co/spaces/abhishek-kumar/superkart_sales_backend/predict", files=files)
|
53 |
|
54 |
if response.status_code == 200:
|
55 |
predictions = response.json()["predictions"]
|