madoss commited on
Commit
8de7db0
·
1 Parent(s): 8c16bb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -43,10 +43,11 @@ iface = gr.Interface(
43
  search,
44
  inputs=[
45
  gr.inputs.Textbox(label="Query"),
46
- gr.inputs.Number(label="K", default=3),
47
  ],
48
  outputs=[
49
- gr.outputs.Textbox(label=f"Result {i}") for i in range(K)
 
 
50
  ],
51
  title="Camembert and Faiss-powered Search Engine",
52
  description="Search through a dataset using Camembert and Faiss",
 
43
  search,
44
  inputs=[
45
  gr.inputs.Textbox(label="Query"),
 
46
  ],
47
  outputs=[
48
+ gr.outputs.Textbox(label="Result 1"),
49
+ gr.outputs.Textbox(label="Result 2),
50
+ gr.outputs.Textbox(label="Result 3")
51
  ],
52
  title="Camembert and Faiss-powered Search Engine",
53
  description="Search through a dataset using Camembert and Faiss",