Spaces:
Sleeping
Sleeping
Commit
·
f0e795d
1
Parent(s):
0193888
Update app.py
Browse files
app.py
CHANGED
|
@@ -54,7 +54,7 @@ with gr.Blocks(css=custom_css) as demo:
|
|
| 54 |
port = gr.Textbox(value='5432', label="Port")
|
| 55 |
myDB = gr.Textbox(value='sample_db', label="mydatabase")
|
| 56 |
upload_status = gr.Textbox(value="Database not connected yet", label="Connect Status")
|
| 57 |
-
submit_SQL_btn = gr.Button("Submit
|
| 58 |
submit_SQL_btn.click(fn=create_query_engine, inputs = [file, user, password, host, port, myDB], outputs=[SQLidx, sql_engine, upload_status])
|
| 59 |
|
| 60 |
robot = gr.Image(value=robot_filepath, type='pil', show_label=False, show_download_button=False, container=False, width=125, height=125, elem_classes='column_el')
|
|
|
|
| 54 |
port = gr.Textbox(value='5432', label="Port")
|
| 55 |
myDB = gr.Textbox(value='sample_db', label="mydatabase")
|
| 56 |
upload_status = gr.Textbox(value="Database not connected yet", label="Connect Status")
|
| 57 |
+
submit_SQL_btn = gr.Button("Submit postgres details")
|
| 58 |
submit_SQL_btn.click(fn=create_query_engine, inputs = [file, user, password, host, port, myDB], outputs=[SQLidx, sql_engine, upload_status])
|
| 59 |
|
| 60 |
robot = gr.Image(value=robot_filepath, type='pil', show_label=False, show_download_button=False, container=False, width=125, height=125, elem_classes='column_el')
|