SiddharthAK commited on
Commit
0cf7ec0
·
verified ·
1 Parent(s): 113d174

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -431,7 +431,7 @@ with gr.Blocks(title="SPLADE Demos") as demo:
431
  # live=True # Setting live=True might be slow for complex models on every keystroke
432
  )
433
 
434
- with gr.TabItem("Query-Document Dot Product Calculator"): # NEW TAB
435
  gr.Markdown("### Calculate Dot Product Similarity between Query and Document")
436
  gr.Markdown("Select **independent** SPLADE models to encode your query and document, then see their sparse representations and their similarity score.")
437
 
@@ -463,7 +463,7 @@ with gr.Blocks(title="SPLADE Demos") as demo:
463
  gr.Textbox(
464
  lines=5,
465
  label="Enter Document Text:",
466
- placeholder="e.g., Padua is well-know as a gastronomic hub even within the Veneto Region."
467
  )
468
  ],
469
  outputs=gr.Markdown(),
 
431
  # live=True # Setting live=True might be slow for complex models on every keystroke
432
  )
433
 
434
+ with gr.TabItem("Compare Encoders"): # NEW TAB
435
  gr.Markdown("### Calculate Dot Product Similarity between Query and Document")
436
  gr.Markdown("Select **independent** SPLADE models to encode your query and document, then see their sparse representations and their similarity score.")
437
 
 
463
  gr.Textbox(
464
  lines=5,
465
  label="Enter Document Text:",
466
+ placeholder="e.g., Padua's cuisine is as famous as its legendary University."
467
  )
468
  ],
469
  outputs=gr.Markdown(),