bkoz commited on
Commit
0a257aa
·
1 Parent(s): 3a7b512

initial code

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -62,12 +62,12 @@ def respond(query):
62
  examples = gr.Examples(inputs=["Guitars", "Wine", "Movies", "Sports"])
63
  demo = gr.Interface(
64
  gr.Textbox(
65
- label="Search the Jeopardy Vector Database powered by Weaviate",
66
- info="Submit a Query:",
67
- lines=1,
68
- value=examples[0][0]
69
  ),
70
- gr.Examples(examples, fn=respond, inputs=inputs),
71
  outputs="textbox"
72
  )
73
 
 
62
  examples = gr.Examples(inputs=["Guitars", "Wine", "Movies", "Sports"])
63
  demo = gr.Interface(
64
  gr.Textbox(
65
+ label="Search the Jeopardy Vector Database powered by Weaviate",
66
+ info="Submit a Query:",
67
+ lines=1,
68
+ value=examples[0][0]
69
  ),
70
+ gr.Examples(inputs=examples, fn=respond),
71
  outputs="textbox"
72
  )
73