Sayandip commited on
Commit
b5133d0
·
verified ·
1 Parent(s): 3ba5992

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,5 +65,5 @@ if uploaded_file is not None:
65
  st.write(f"⏱️ Inference Time: **{elapsed_time:.4f} seconds**")
66
 
67
  # Call speak_auto function to speak out the prediction
68
- prediction_text = f"The person is {label} with a confidence of {confidence:.2%}."
69
  speak_auto(prediction_text) # Auto-play speech
 
65
  st.write(f"⏱️ Inference Time: **{elapsed_time:.4f} seconds**")
66
 
67
  # Call speak_auto function to speak out the prediction
68
+ prediction_text = f"The person in the uploaded image is {label} with a prediction confidence of {confidence:.2%}."
69
  speak_auto(prediction_text) # Auto-play speech