Curranj commited on
Commit
7a814d8
·
1 Parent(s): 74b0231

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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