Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def home():
|
|
| 18 |
def predict_single():
|
| 19 |
# Get the JSON data from the request body
|
| 20 |
product_data = request.get_json()
|
| 21 |
-
|
| 22 |
# Extract relevant features from the JSON data
|
| 23 |
sample = {
|
| 24 |
'Product_Weight': product_data['Product_Weight'],
|
|
|
|
| 18 |
def predict_single():
|
| 19 |
# Get the JSON data from the request body
|
| 20 |
product_data = request.get_json()
|
| 21 |
+
|
| 22 |
# Extract relevant features from the JSON data
|
| 23 |
sample = {
|
| 24 |
'Product_Weight': product_data['Product_Weight'],
|