Spaces:
Runtime error
Runtime error
govu
commited on
Commit
·
1fda096
1
Parent(s):
7fd54e2
Examples added
Browse files
app.py
CHANGED
@@ -13,5 +13,10 @@ def greet(query):
|
|
13 |
return sql
|
14 |
|
15 |
|
16 |
-
iface = gr.Interface(fn=greet, inputs="text", outputs="text"
|
|
|
|
|
|
|
|
|
17 |
iface.launch()
|
|
|
|
13 |
return sql
|
14 |
|
15 |
|
16 |
+
iface = gr.Interface(fn=greet, inputs="text", outputs="text", examples=[
|
17 |
+
"Show me the average price of wines in Italy by provinces",
|
18 |
+
"Cars built after 2020 and manufactured in Italy",
|
19 |
+
"Top 10 cities by their population"
|
20 |
+
])
|
21 |
iface.launch()
|
22 |
+
|