Spaces:
Runtime error
Runtime error
Commit ·
d50ac58
1
Parent(s): c004bcb
rearraning position of button
Browse files
app.py
CHANGED
|
@@ -260,9 +260,10 @@ with gr.Blocks() as demo:
|
|
| 260 |
with gr.Tab("Run Query"):
|
| 261 |
gr.Markdown("""<h1><center> Run Query </center></h1>""")
|
| 262 |
text_input = gr.Textbox(label = 'Input SQL Query', placeholder="Write your SQL query here ...")
|
|
|
|
| 263 |
text_output = gr.Textbox(label = 'Result')
|
| 264 |
table_output = gr.Dataframe(pd.DataFrame())
|
| 265 |
-
|
| 266 |
clear = gr.ClearButton([text_input, text_output])
|
| 267 |
text_button.click(testSQL, inputs=text_input, outputs=[text_output, table_output])
|
| 268 |
|
|
|
|
| 260 |
with gr.Tab("Run Query"):
|
| 261 |
gr.Markdown("""<h1><center> Run Query </center></h1>""")
|
| 262 |
text_input = gr.Textbox(label = 'Input SQL Query', placeholder="Write your SQL query here ...")
|
| 263 |
+
text_button = gr.Button("RUN QUERY")
|
| 264 |
text_output = gr.Textbox(label = 'Result')
|
| 265 |
table_output = gr.Dataframe(pd.DataFrame())
|
| 266 |
+
|
| 267 |
clear = gr.ClearButton([text_input, text_output])
|
| 268 |
text_button.click(testSQL, inputs=text_input, outputs=[text_output, table_output])
|
| 269 |
|