Upload folder using huggingface_hub
Browse files32 unmodified lines3334353637383932 unmodified linesresponse = requests.post("https://ccwizard-SuperKartSalesPredictionRandomForestBackend.hf.space/v1/predict", json=product_data)if response.status_code == 200:result = response.json()print(result)st.write(f"Predicted Product Store Sales Total: ₹{predicted_sales:.2f}")else:st.error("Error in API request")32 unmodified lines3334353637383932 unmodified linesresponse = requests.post("https://ccwizard-SuperKartSalesPredictionRandomForestBackend.hf.space/v1/predict", json=product_data)if response.status_code == 200:result = response.json()predicted_sales = result["Sales"]st.write(f"Predicted Product Store Sales Total: {predicted_sales:.2f}")else:st.error("Error in API request")
app.py+2-2