Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ input_data = {
|
|
| 53 |
if st.button("Predict Sales"):
|
| 54 |
try:
|
| 55 |
# Updated API endpoint
|
| 56 |
-
backend_url = "https
|
| 57 |
endpoint = f"{backend_url}/v1/sales"
|
| 58 |
|
| 59 |
st.info(f"Connecting to: {endpoint}") # Show the endpoint being called
|
|
|
|
| 53 |
if st.button("Predict Sales"):
|
| 54 |
try:
|
| 55 |
# Updated API endpoint
|
| 56 |
+
backend_url = "https://DD009-SuperKartBackend.hf.space" # Corrected URL
|
| 57 |
endpoint = f"{backend_url}/v1/sales"
|
| 58 |
|
| 59 |
st.info(f"Connecting to: {endpoint}") # Show the endpoint being called
|