Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
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): {
|
| 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.")
|