A commited on
Commit
c412bca
·
verified ·
1 Parent(s): 8e2fdb8

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -40,7 +40,7 @@ input_data = pd.DataFrame([{
40
  'Store_Establishment_Year': store_establishment_year
41
  }])
42
 
43
- Make prediction when the "Predict" button is clicked
44
  if st.button("Predict"):
45
  response = requests.post("https://Swetha2031-SuperKartSalesPredictionBackend.hf.space/v1/salestotal", json=input_data.to_dict(orient='records')[0])
46
  if response.status_code == 200:
 
40
  'Store_Establishment_Year': store_establishment_year
41
  }])
42
 
43
+ # Make prediction when the "Predict" button is clicked
44
  if st.button("Predict"):
45
  response = requests.post("https://Swetha2031-SuperKartSalesPredictionBackend.hf.space/v1/salestotal", json=input_data.to_dict(orient='records')[0])
46
  if response.status_code == 200: