Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -69,8 +69,8 @@ with demo:
|
|
69 |
input_prompt_sql = gr.Textbox(label="Or Write text following the example pattern given below, to get SQL commands...", value="Use table called 'department'.\nInput: Select names of all the departments in their descending alphabetical order.\nPostgreSQL query: ", lines=5)
|
70 |
|
71 |
with gr.Row():
|
72 |
-
b1 = gr.Button("Generate SQL")
|
73 |
generated_txt = gr.Textbox(lines=3)
|
|
|
74 |
|
75 |
b1.click(sql_generate,inputs=[example_prompt, input_prompt_sql], outputs=generated_txt)
|
76 |
|
|
|
69 |
input_prompt_sql = gr.Textbox(label="Or Write text following the example pattern given below, to get SQL commands...", value="Use table called 'department'.\nInput: Select names of all the departments in their descending alphabetical order.\nPostgreSQL query: ", lines=5)
|
70 |
|
71 |
with gr.Row():
|
|
|
72 |
generated_txt = gr.Textbox(lines=3)
|
73 |
+
b1 = gr.Button("Generate SQL")
|
74 |
|
75 |
b1.click(sql_generate,inputs=[example_prompt, input_prompt_sql], outputs=generated_txt)
|
76 |
|