nishantpathak461 commited on
Commit
29b9567
·
verified ·
1 Parent(s): b513f18

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -36,7 +36,7 @@ input_data = pd.DataFrame([{
36
 
37
  # Make prediction when the "Predict" button is clicked
38
  if st.button("Predict"):
39
- response = requests.post("https://nishantpathak461-backend_stores.hf.space/v1/sales", json=input_data.to_dict(orient='records')[0])
40
 
41
  if response.status_code == 200:
42
  prediction = response.json()['predicted_sales']
 
36
 
37
  # Make prediction when the "Predict" button is clicked
38
  if st.button("Predict"):
39
+ response = requests.post("https://nishantpathak461-Backend_Stores.hf.space/v1/sales", json=input_data.to_dict(orient='records')[0])
40
 
41
  if response.status_code == 200:
42
  prediction = response.json()['predicted_sales']