Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -186,8 +186,8 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue", secondary_hue="sky"), cs
|
|
| 186 |
gr.Markdown("انقر على مثال لتعبئة الحقول تلقائياً (يتطلب وجود مجلد `examples` بنفس بنية البيانات).")
|
| 187 |
gr.Examples(
|
| 188 |
examples=[
|
| 189 |
-
[os.path.join(EXAMPLES_DIR, "sample1", "rgb.
|
| 190 |
-
[os.path.join(EXAMPLES_DIR, "sample2", "rgb.
|
| 191 |
],
|
| 192 |
# يجب أن تتطابق المدخلات مع الحقول المطلوبة في الأمثلة
|
| 193 |
inputs=[api_rgb_image_path, api_measurements_path],
|
|
|
|
| 186 |
gr.Markdown("انقر على مثال لتعبئة الحقول تلقائياً (يتطلب وجود مجلد `examples` بنفس بنية البيانات).")
|
| 187 |
gr.Examples(
|
| 188 |
examples=[
|
| 189 |
+
[os.path.join(EXAMPLES_DIR, "sample1", "rgb.jpg"), os.path.join(EXAMPLES_DIR, "sample1", "measurements.json")],
|
| 190 |
+
[os.path.join(EXAMPLES_DIR, "sample2", "rgb.jpg"), os.path.join(EXAMPLES_DIR, "sample2", "measurements.json")]
|
| 191 |
],
|
| 192 |
# يجب أن تتطابق المدخلات مع الحقول المطلوبة في الأمثلة
|
| 193 |
inputs=[api_rgb_image_path, api_measurements_path],
|