Spaces:
Running
Running
Commit
Β·
c1f76d4
1
Parent(s):
914fbd3
small fix
Browse files- vms/ui/app_ui.py +8 -2
vms/ui/app_ui.py
CHANGED
@@ -281,7 +281,13 @@ class AppUI:
|
|
281 |
# Sidebar for navigation
|
282 |
with gr.Sidebar(position="left", open=True):
|
283 |
gr.Markdown("# ποΈ VideoModelStudio")
|
284 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
285 |
self.components["models_btn"] = gr.Button("ποΈ My Models")
|
286 |
self.components["system_monitoring_btn"] = gr.Button("π‘οΈ Monitoring")
|
287 |
|
@@ -292,7 +298,7 @@ class AppUI:
|
|
292 |
self.main_tabs = main_tabs
|
293 |
|
294 |
# Project View Tab
|
295 |
-
with gr.Tab("π
|
296 |
# Create project tabs
|
297 |
with gr.Tabs() as project_tabs:
|
298 |
# Store reference to project tabs component
|
|
|
281 |
# Sidebar for navigation
|
282 |
with gr.Sidebar(position="left", open=True):
|
283 |
gr.Markdown("# ποΈ VideoModelStudio")
|
284 |
+
|
285 |
+
self.components["current_project_btn"] = gr.Button(
|
286 |
+
"π Current Project",
|
287 |
+
variant="primary",
|
288 |
+
#visible=False # for now we disable this button
|
289 |
+
)
|
290 |
+
|
291 |
self.components["models_btn"] = gr.Button("ποΈ My Models")
|
292 |
self.components["system_monitoring_btn"] = gr.Button("π‘οΈ Monitoring")
|
293 |
|
|
|
298 |
self.main_tabs = main_tabs
|
299 |
|
300 |
# Project View Tab
|
301 |
+
with gr.Tab("π Current Project", id=0) as project_view:
|
302 |
# Create project tabs
|
303 |
with gr.Tabs() as project_tabs:
|
304 |
# Store reference to project tabs component
|