Spaces:
Sleeping
Sleeping
sedrick-keh-tri
commited on
Commit
·
5223b7f
1
Parent(s):
ebb0552
width fix
Browse files
app.py
CHANGED
|
@@ -95,7 +95,15 @@ def get_table_info(table_name):
|
|
| 95 |
return info
|
| 96 |
|
| 97 |
# Create Gradio interface
|
| 98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 99 |
gr.Markdown("# 🤖 VLA Foundry Database Viewer")
|
| 100 |
gr.Markdown("Explore the VLA Foundry database with searchable, filterable, and sortable tables.")
|
| 101 |
|
|
|
|
| 95 |
return info
|
| 96 |
|
| 97 |
# Create Gradio interface
|
| 98 |
+
css = """
|
| 99 |
+
.dataframe td, .dataframe th {
|
| 100 |
+
max-width: 300px !important;
|
| 101 |
+
overflow: auto !important;
|
| 102 |
+
white-space: nowrap !important;
|
| 103 |
+
}
|
| 104 |
+
"""
|
| 105 |
+
|
| 106 |
+
with gr.Blocks(title="VLA Foundry Database Viewer", css=css) as demo:
|
| 107 |
gr.Markdown("# 🤖 VLA Foundry Database Viewer")
|
| 108 |
gr.Markdown("Explore the VLA Foundry database with searchable, filterable, and sortable tables.")
|
| 109 |
|