udbhav90 commited on
Commit
ba3e917
·
verified ·
1 Parent(s): 1318157

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()['Personality_Type']}")
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