RubeenaNouman commited on
Commit
34b52ac
·
verified ·
1 Parent(s): 6e86cbe

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,6 +39,6 @@ if st.button("Predict"):
39
  response = requests.post("https://RubeenaNouman-PredictionBackend.hf.space/v1/pred", json=input_data.to_dict(orient='records')[0]) # Send data to Flask API
40
  if response.status_code == 200:
41
  prediction = response.json()['Predicted Price (in dollars)']
42
- st.success(f"Predicted Rental Price (in dollars): {prediction}")
43
  else:
44
  st.error("Error making prediction.")
 
39
  response = requests.post("https://RubeenaNouman-PredictionBackend.hf.space/v1/pred", json=input_data.to_dict(orient='records')[0]) # Send data to Flask API
40
  if response.status_code == 200:
41
  prediction = response.json()['Predicted Price (in dollars)']
42
+ st.success(f"Predicted Sales Price (in dollars): {prediction}")
43
  else:
44
  st.error("Error making prediction.")