Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -181,7 +181,7 @@ with gr.Blocks(theme=gr.themes.Soft(primary_hue="blue", secondary_hue="sky"), cs
|
|
| 181 |
return gr.update(value=selected_example["img_path"]), gr.update(value=selected_example["json_path"])
|
| 182 |
|
| 183 |
# --- استخدام gr.Dataset مع إخفاء المكونات ---
|
| 184 |
-
with gr.
|
| 185 |
example_image = gr.Image(label="الصورة", type="filepath")
|
| 186 |
example_speed = gr.Textbox(label="السرعة")
|
| 187 |
example_theta = gr.Textbox(label="الاتجاه")
|
|
|
|
| 181 |
return gr.update(value=selected_example["img_path"]), gr.update(value=selected_example["json_path"])
|
| 182 |
|
| 183 |
# --- استخدام gr.Dataset مع إخفاء المكونات ---
|
| 184 |
+
with gr.Column(visible=False): # المكونات التي تظهر فوق الجدول سيتم طيّها داخل هذا الـ Accordion
|
| 185 |
example_image = gr.Image(label="الصورة", type="filepath")
|
| 186 |
example_speed = gr.Textbox(label="السرعة")
|
| 187 |
example_theta = gr.Textbox(label="الاتجاه")
|