Curranj commited on
Commit
72a6792
·
verified ·
1 Parent(s): ebf8e7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -22,5 +22,11 @@ def greet(prompt):
22
  sql = gpt3(txt)
23
  return sql
24
 
25
- iface = gr.Interface(greet, inputs=["text"], outputs="text")
26
- iface.launch()
 
 
 
 
 
 
 
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()