Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -79,8 +79,8 @@ def process_image(image):
|
|
| 79 |
|
| 80 |
# Gradio arayüzü
|
| 81 |
iface = gr.Interface(fn=process_image,
|
| 82 |
-
inputs=gr.Image(type="
|
| 83 |
-
outputs=[gr.Image(type="
|
| 84 |
gr.Textbox(label="Sol Göz Durumu"),
|
| 85 |
gr.Textbox(label="Sağ Göz Durumu")])
|
| 86 |
|
|
|
|
| 79 |
|
| 80 |
# Gradio arayüzü
|
| 81 |
iface = gr.Interface(fn=process_image,
|
| 82 |
+
inputs=gr.Image(type="numpy", label="Görsel Yükleyin"), # Giriş olarak görsel al
|
| 83 |
+
outputs=[gr.Image(type="numpy", label="Yüz Tespiti Sonucu"),
|
| 84 |
gr.Textbox(label="Sol Göz Durumu"),
|
| 85 |
gr.Textbox(label="Sağ Göz Durumu")])
|
| 86 |
|