Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ headers_batch = {
|
|
| 57 |
|
| 58 |
# Single Prediction
|
| 59 |
if st.button("Predict"):
|
| 60 |
-
product_Id =
|
| 61 |
try:
|
| 62 |
response = requests.post(
|
| 63 |
"https://MainiSandeep1987-SuperKartBackEnd.hf.space/v1/salesTotal",headers=headers,
|
|
|
|
| 57 |
|
| 58 |
# Single Prediction
|
| 59 |
if st.button("Predict"):
|
| 60 |
+
product_Id = input_data["Product_Category"].iloc[0] + str(Id)
|
| 61 |
try:
|
| 62 |
response = requests.post(
|
| 63 |
"https://MainiSandeep1987-SuperKartBackEnd.hf.space/v1/salesTotal",headers=headers,
|