Update app.py
Browse files
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()
|