Pengi5659 commited on
Commit
2a7bb73
·
verified ·
1 Parent(s): 6216147

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,5 +26,5 @@ def classify_image(image):
26
  return "Good Posture! Sit exactly like that for your Interview!" if predicted.item() == 0 else "Bad Posture, you should think of sitting a little straighter or more in frame for your real interview."
27
 
28
  # Set up Gradio interface
29
- iface = gr.Interface(fn=classify_image, inputs=gr.Image(type="pil"), outputs="text")
30
  iface.launch()
 
26
  return "Good Posture! Sit exactly like that for your Interview!" if predicted.item() == 0 else "Bad Posture, you should think of sitting a little straighter or more in frame for your real interview."
27
 
28
  # Set up Gradio interface
29
+ iface = gr.Interface(fn=classify_image, inputs=gr.Image(type="pil", height=150, width=150), outputs="text")
30
  iface.launch()