Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ exp=["Who is steve jobs?","What is coldplay?","What is a turing test?","What is
|
|
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,label="search you query here")
|
42 |
-
out=gr.Textbox(type="
|
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()
|
|
|
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,label="search you query here")
|
42 |
+
out=gr.Textbox(type="text",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()
|