Spaces:
Sleeping
Sleeping
sedrick-keh-tri
commited on
Commit
·
4cc33fb
1
Parent(s):
472b72c
syntax fix
Browse files
app.py
CHANGED
|
@@ -127,16 +127,16 @@ with gr.Blocks(title="VLA Foundry Database Viewer", css=css) as demo:
|
|
| 127 |
else:
|
| 128 |
# Top section: Table selector and info
|
| 129 |
with gr.Row():
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
|
| 133 |
-
|
| 134 |
-
|
| 135 |
-
|
| 136 |
-
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
|
| 140 |
|
| 141 |
# Filters and sorting section
|
| 142 |
with gr.Row():
|
|
|
|
| 127 |
else:
|
| 128 |
# Top section: Table selector and info
|
| 129 |
with gr.Row():
|
| 130 |
+
with gr.Column(scale=2):
|
| 131 |
+
table_selector = gr.Dropdown(
|
| 132 |
+
choices=table_names,
|
| 133 |
+
label="Select Table",
|
| 134 |
+
value=table_names[0] if table_names else None
|
| 135 |
+
)
|
| 136 |
+
with gr.Column(scale=3):
|
| 137 |
+
table_info = gr.Markdown(
|
| 138 |
+
value=get_table_info(table_names[0]) if table_names else ""
|
| 139 |
+
)
|
| 140 |
|
| 141 |
# Filters and sorting section
|
| 142 |
with gr.Row():
|