Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,6 +33,6 @@ def greet( prompt):
|
|
33 |
|
34 |
|
35 |
#Code to set up Gradio UI
|
36 |
-
iface = gr.Interface(greet, inputs = ["text"], outputs = "text",title="Natural Language to SQL", description="Enter any prompt and get a SQL statement back! For better results, give it more context", examples=[["list all the leap years from 2020-2040. the variable is year"]["SELECT * FROM years WHERE year%4=0 AND year%100!=0 OR year%400=0 AND year>=2020 AND year<=2040 "])
|
37 |
iface.launch()
|
38 |
|
|
|
33 |
|
34 |
|
35 |
#Code to set up Gradio UI
|
36 |
+
iface = gr.Interface(greet, inputs = ["text"], outputs = "text",title="Natural Language to SQL", description="Enter any prompt and get a SQL statement back! For better results, give it more context", examples=[["list all the leap years from 2020-2040. the variable is year"],["SELECT * FROM years WHERE year%4=0 AND year%100!=0 OR year%400=0 AND year>=2020 AND year<=2040 "]])
|
37 |
iface.launch()
|
38 |
|