Spaces:
Sleeping
Sleeping
Update ui.py
Browse files
ui.py
CHANGED
|
@@ -338,7 +338,9 @@ def configure(request: gr.Request):
|
|
| 338 |
|
| 339 |
|
| 340 |
with gr.Blocks(theme="citrus", title="Trackio Dashboard", css=css) as demo:
|
|
|
|
| 341 |
with gr.Sidebar(open=False) as sidebar:
|
|
|
|
| 342 |
gr.Markdown(
|
| 343 |
f"<div style='display: flex; align-items: center; gap: 8px;'><img src='/gradio_api/file={TRACKIO_LOGO_PATH}' width='32' height='32'><span style='font-size: 2em; font-weight: bold;'>Trackio</span></div>"
|
| 344 |
)
|
|
@@ -536,4 +538,5 @@ with gr.Blocks(theme="citrus", title="Trackio Dashboard", css=css) as demo:
|
|
| 536 |
|
| 537 |
|
| 538 |
if __name__ == "__main__":
|
| 539 |
-
|
|
|
|
|
|
| 338 |
|
| 339 |
|
| 340 |
with gr.Blocks(theme="citrus", title="Trackio Dashboard", css=css) as demo:
|
| 341 |
+
print('ok')
|
| 342 |
with gr.Sidebar(open=False) as sidebar:
|
| 343 |
+
|
| 344 |
gr.Markdown(
|
| 345 |
f"<div style='display: flex; align-items: center; gap: 8px;'><img src='/gradio_api/file={TRACKIO_LOGO_PATH}' width='32' height='32'><span style='font-size: 2em; font-weight: bold;'>Trackio</span></div>"
|
| 346 |
)
|
|
|
|
| 538 |
|
| 539 |
|
| 540 |
if __name__ == "__main__":
|
| 541 |
+
print('starting...')
|
| 542 |
+
demo.launch(allowed_paths=[TRACKIO_LOGO_PATH], show_api=True, show_error=True)
|