Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import requests # Import requests for API calls
|
|
| 4 |
|
| 5 |
# --- Configuration for Backend API --- #
|
| 6 |
# This URL should point to your deployed backend Hugging Face Space
|
| 7 |
-
BACKEND_API_URL = "https://lokiiparihar-
|
| 8 |
PREDICT_ENDPOINT = f"{BACKEND_API_URL}/v1/sales"
|
| 9 |
|
| 10 |
# Streamlit UI for Sales Prediction
|
|
|
|
| 4 |
|
| 5 |
# --- Configuration for Backend API --- #
|
| 6 |
# This URL should point to your deployed backend Hugging Face Space
|
| 7 |
+
BACKEND_API_URL = "https://lokiiparihar-superkart-api-t.hf.space" # Replace with your actual backend space URL
|
| 8 |
PREDICT_ENDPOINT = f"{BACKEND_API_URL}/v1/sales"
|
| 9 |
|
| 10 |
# Streamlit UI for Sales Prediction
|