rajaramsblr commited on
Commit
c6ccf59
·
verified ·
1 Parent(s): 9c20883

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ if uploaded_file is not None:
53
  if st.button("Predict Batch"):
54
  #response = requests.post("https://<username>-<repo_id>.hf.space/v1/rentalbatch", files={"file": uploaded_file}) # Send file to Flask API
55
  response = requests.post("https://rajaramsblr-rentalpricepredictionbackend.hf.space/v1/rentalbatch", files={"file": uploaded_file}) # Send file to Flask API
56
-
57
  if response.status_code == 200:
58
  predictions = response.json()
59
  st.success("Batch predictions completed!")
 
53
  if st.button("Predict Batch"):
54
  #response = requests.post("https://<username>-<repo_id>.hf.space/v1/rentalbatch", files={"file": uploaded_file}) # Send file to Flask API
55
  response = requests.post("https://rajaramsblr-rentalpricepredictionbackend.hf.space/v1/rentalbatch", files={"file": uploaded_file}) # Send file to Flask API
56
+
57
  if response.status_code == 200:
58
  predictions = response.json()
59
  st.success("Batch predictions completed!")