Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,6 +83,8 @@ image_interface = gr.Interface(
|
|
| 83 |
outputs=[gr.Image(type="pil"), gr.Dataframe(label="Object Counts")],
|
| 84 |
title="Object Detection for Images",
|
| 85 |
description="Upload an image to see the objects detected and their counts.",
|
|
|
|
|
|
|
| 86 |
)
|
| 87 |
|
| 88 |
# إضافة أمثلة للواجهة
|
|
|
|
| 83 |
outputs=[gr.Image(type="pil"), gr.Dataframe(label="Object Counts")],
|
| 84 |
title="Object Detection for Images",
|
| 85 |
description="Upload an image to see the objects detected and their counts.",
|
| 86 |
+
examples=['assets/MessiVsAlhilal.jpg', 'assets/Manhattan002_0.webp'] # إضافة الأمثلة هنا
|
| 87 |
+
|
| 88 |
)
|
| 89 |
|
| 90 |
# إضافة أمثلة للواجهة
|