Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,10 @@ table_names = get_table_names()
|
|
| 94 |
with gr.Blocks(theme=gr.themes.Soft(font=[gr.themes.GoogleFont("Ubuntu"), "Arial", "sans-serif"], text_size='sm')) as ydcoza_face:
|
| 95 |
|
| 96 |
text_input = gr.Textbox(lines=2, label="Text Query")
|
| 97 |
-
|
|
|
|
|
|
|
|
|
|
| 98 |
# Dynamically create buttons for each table
|
| 99 |
with gr.Row():
|
| 100 |
for table in table_names:
|
|
|
|
| 94 |
with gr.Blocks(theme=gr.themes.Soft(font=[gr.themes.GoogleFont("Ubuntu"), "Arial", "sans-serif"], text_size='sm')) as ydcoza_face:
|
| 95 |
|
| 96 |
text_input = gr.Textbox(lines=2, label="Text Query")
|
| 97 |
+
|
| 98 |
+
gr.HTML("""
|
| 99 |
+
<p>Database Tables:</p>
|
| 100 |
+
""")
|
| 101 |
# Dynamically create buttons for each table
|
| 102 |
with gr.Row():
|
| 103 |
for table in table_names:
|