vijayendras commited on
Commit
f0ff23d
·
verified ·
1 Parent(s): 1a8f79a

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,6 +46,6 @@ if st.button("Predict"):
46
  response = requests.post("https://vijayendras-ExtraaLearnBackend.hf.space/v1/predict", json=input_data.to_dict(orient='records')[0]) # Send data to Flask API
47
  if response.status_code == 200:
48
  prediction = response.json()['Status']
49
- st.success(f"Prediction for Lead Conversion (0=Negative/1=Positive): {int(prediction)}")
50
  else:
51
  st.error("Error making prediction.")
 
46
  response = requests.post("https://vijayendras-ExtraaLearnBackend.hf.space/v1/predict", json=input_data.to_dict(orient='records')[0]) # Send data to Flask API
47
  if response.status_code == 200:
48
  prediction = response.json()['Status']
49
+ st.success(f"Prediction for Lead Conversion (0=Negative/1=Positive): {prediction}")
50
  else:
51
  st.error("Error making prediction.")