abhibisht89 commited on
Commit
702a283
·
verified ·
1 Parent(s): f5c6af5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.inputs.Textbox(lines=1, placeholder=None, default="", label="search you query here")
42
- out=gr.outputs.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()
 
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()