Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,5 +22,11 @@ def greet(prompt):
|
|
22 |
sql = gpt3(txt)
|
23 |
return sql
|
24 |
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
sql = gpt3(txt)
|
23 |
return sql
|
24 |
|
25 |
+
e = gr.Interface(
|
26 |
+
fn=greet,
|
27 |
+
inputs=["text"],
|
28 |
+
outputs="text",
|
29 |
+
title="Natural Language to SQL Converter",
|
30 |
+
description="Convert your natural language queries into SQL code."
|
31 |
+
)
|
32 |
+
e.launch()
|