initial code
Browse files
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 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
),
|
70 |
-
gr.Examples(examples, fn=respond
|
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 |
|