Spaces:
Runtime error
Runtime error
abhibisht89
commited on
Commit
•
45dd76d
1
Parent(s):
702a283
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ 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.Textbox(lines=1, placeholder=None,
|
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')
|
|
|
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,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')
|