Spaces:
Sleeping
Sleeping
Update App.py
Browse files
App.py
CHANGED
|
@@ -47,6 +47,9 @@ def toggle_azure_settings(optimizers):
|
|
| 47 |
optimizers = [optimizers] if isinstance(optimizers, str) else optimizers or []
|
| 48 |
return gr.update(visible='AzureSky' in optimizers)
|
| 49 |
|
|
|
|
|
|
|
|
|
|
| 50 |
with gr.Blocks(theme=gr.themes.Soft(), title="Nexa R&D Studio", css="""
|
| 51 |
.gr-button { margin-top: 10px; }
|
| 52 |
.gr-box { border-radius: 8px; }
|
|
|
|
| 47 |
optimizers = [optimizers] if isinstance(optimizers, str) else optimizers or []
|
| 48 |
return gr.update(visible='AzureSky' in optimizers)
|
| 49 |
|
| 50 |
+
def toggle_tabs(mode):
|
| 51 |
+
return gr.update(visible=mode == 'Benchmark Optimization'), gr.update(visible=mode == 'ML Task Training')
|
| 52 |
+
|
| 53 |
with gr.Blocks(theme=gr.themes.Soft(), title="Nexa R&D Studio", css="""
|
| 54 |
.gr-button { margin-top: 10px; }
|
| 55 |
.gr-box { border-radius: 8px; }
|