Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,8 +38,8 @@ exp=["Who is steve jobs?","What is coldplay?","What is a turing test?","What is
|
|
38 |
|
39 |
desc="This is a semantic search engine powered by SentenceTransformers (Nils_Reimers) with a retrieval and reranking system on Wikipedia corous. This will return the top 5 results. So Quest on with Transformers."
|
40 |
|
41 |
-
inp=gr.
|
42 |
-
out=gr.
|
43 |
|
44 |
iface = gr.Interface(fn=search, inputs=inp, outputs=[out,out,out,out,out],examples=exp,article=desc,title="Neural Search Engine",theme="huggingface",layout='vertical')
|
45 |
iface.launch()
|
|
|
38 |
|
39 |
desc="This is a semantic search engine powered by SentenceTransformers (Nils_Reimers) with a retrieval and reranking system on Wikipedia corous. This will return the top 5 results. So Quest on with Transformers."
|
40 |
|
41 |
+
inp=gr.Textbox(lines=1, placeholder=None, default="", label="search you query here")
|
42 |
+
out=gr.Textbox(type="auto",label="search results")
|
43 |
|
44 |
iface = gr.Interface(fn=search, inputs=inp, outputs=[out,out,out,out,out],examples=exp,article=desc,title="Neural Search Engine",theme="huggingface",layout='vertical')
|
45 |
iface.launch()
|