memopenaws commited on
Commit
3edeee7
·
verified ·
1 Parent(s): d2bdf11

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ product_data = {
30
  }
31
 
32
  if st.button("Predict", type='primary'):
33
- response = requests.post("https://<user_name>-<space_name>.hf.space/v1/predict", json=product_data) # Complete the code to enter user name and space name to correctly define the endpoint
34
  if response.status_code == 200:
35
  result = response.json()
36
  predicted_sales = result["Sales"]
 
30
  }
31
 
32
  if st.button("Predict", type='primary'):
33
+ response = requests.post("https://memopenaws-superkart-api.hf.space/v1/predict", json=product_data) # Complete the code to enter user name and space name to correctly define the endpoint
34
  if response.status_code == 200:
35
  result = response.json()
36
  predicted_sales = result["Sales"]