Noah Nsimbe commited on
Commit
2126cd0
1 Parent(s): b3e5459

add example

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -37,5 +37,10 @@ def query(question):
37
  return "Could not perform request. Try another one"
38
 
39
 
40
- iface = gr.Interface(fn=query, inputs="text", outputs="text")
 
 
 
 
 
41
  iface.launch()
 
37
  return "Could not perform request. Try another one"
38
 
39
 
40
+ iface = gr.Interface(
41
+ fn=query,
42
+ inputs="text",
43
+ outputs="text",
44
+ examples=[["What were the total emissions for 2022 for each category?"]],
45
+ )
46
  iface.launch()