karora1804 commited on
Commit
98400db
·
verified ·
1 Parent(s): 863f101

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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:", input_data_1)
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