SalmanAboAraj commited on
Commit
229af1a
·
verified ·
1 Parent(s): 53b2317

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ def inference(img):
23
  # إعداد واجهة Gradio
24
  nbr_top_classes = 3
25
  iface = gr.Interface(fn=inference,
26
- inputs=gr.Image(source="upload"),
27
  outputs=gr.Label(num_top_classes=nbr_top_classes),
28
  theme="darkdefault")
29
 
 
23
  # إعداد واجهة Gradio
24
  nbr_top_classes = 3
25
  iface = gr.Interface(fn=inference,
26
+ inputs=gr.Image(),
27
  outputs=gr.Label(num_top_classes=nbr_top_classes),
28
  theme="darkdefault")
29