krishpvg commited on
Commit
7ca8cfb
·
verified ·
1 Parent(s): 084da37

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ product_data = {
34
 
35
 
36
  if st.button("Predict", type='primary'):
37
- response = requests.post("https://krishpvg-superkart.hf.space/v1/sales", json=product_data) # enter user name and space name before running the cell
38
  if response.status_code == 200:
39
  result = response.json()
40
  sales_prediction = result["prediction"] # Extract only the value
 
34
 
35
 
36
  if st.button("Predict", type='primary'):
37
+ response = requests.post("https://krishpvg-sample2.hf.space/v1/sales", json=product_data) # enter user name and space name before running the cell
38
  if response.status_code == 200:
39
  result = response.json()
40
  sales_prediction = result["prediction"] # Extract only the value