sahalev commited on
Commit
3b71546
·
verified ·
1 Parent(s): c103cf3

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ st.subheader("Batch Prediction")
46
  file = st.file_uploader("Upload CSV file", type=["csv"])
47
  if file is not None:
48
  if st.button("Predict for Batch", type='primary'):
49
- response = requests.post("https://<user_name>-<space_name>.hf.space/v1/customerbatch", files={"file": file}) # enter user name and space name before running the cell
50
  if response.status_code == 200:
51
  result = response.json()
52
  st.header("Batch Prediction Results")
 
46
  file = st.file_uploader("Upload CSV file", type=["csv"])
47
  if file is not None:
48
  if st.button("Predict for Batch", type='primary'):
49
+ response = requests.post("https://sahalev-Backend.hf.space/v1/customerbatch", files={"file": file}) # enter user name and space name before running the cell
50
  if response.status_code == 200:
51
  result = response.json()
52
  st.header("Batch Prediction Results")