Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -34,7 +34,7 @@ if st.button("🔍 Predict Personality"):
|
|
| 34 |
res = requests.post(f"{API_BASE}/v1/personality/predict", json=payload)
|
| 35 |
|
| 36 |
if res.status_code == 200:
|
| 37 |
-
st.success(f" Predicted Personality Type: {res.json()['
|
| 38 |
else:
|
| 39 |
st.error("Failed to get prediction. Check backend logs.")
|
| 40 |
|
|
|
|
| 34 |
res = requests.post(f"{API_BASE}/v1/personality/predict", json=payload)
|
| 35 |
|
| 36 |
if res.status_code == 200:
|
| 37 |
+
st.success(f" Predicted Personality Type: {res.json()['Predicted_Personality']}")
|
| 38 |
else:
|
| 39 |
st.error("Failed to get prediction. Check backend logs.")
|
| 40 |
|