Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -64,7 +64,7 @@ input_data_2 = {
|
|
| 64 |
"Store_Type":"Supermarket Type1",
|
| 65 |
}
|
| 66 |
input_data_1 = input_data_1.to_dict(orient='records')[0]
|
| 67 |
-
st.write("Json input:",
|
| 68 |
# Make prediction when the "Predict" button is clicked
|
| 69 |
if st.button("Predict"):
|
| 70 |
response = requests.post("https://karora1804-StoreTotalSalesPredictionBackend.hf.space/v1/storeSales", json=input_data_2) # Send data to Flask API
|
|
|
|
| 64 |
"Store_Type":"Supermarket Type1",
|
| 65 |
}
|
| 66 |
input_data_1 = input_data_1.to_dict(orient='records')[0]
|
| 67 |
+
st.write("Json input:", input_data_2)
|
| 68 |
# Make prediction when the "Predict" button is clicked
|
| 69 |
if st.button("Predict"):
|
| 70 |
response = requests.post("https://karora1804-StoreTotalSalesPredictionBackend.hf.space/v1/storeSales", json=input_data_2) # Send data to Flask API
|