yemce commited on
Commit
d03a8f1
·
verified ·
1 Parent(s): 92a0843

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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="pil", label="Görsel Yükleyin"), # Giriş olarak görsel al
83
- outputs=[gr.Image(type="pil", label="Yüz Tespiti Sonucu"),
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