Spaces:
Sleeping
Sleeping
Commit ·
df5a71a
1
Parent(s): 60ac2d1
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def process_output(output):
|
|
| 32 |
demo = gr.Interface(
|
| 33 |
fn=main,
|
| 34 |
inputs=[
|
| 35 |
-
gr.Textbox(lines=1, placeholder="Type here..."),
|
| 36 |
gr.Dropdown(choices=["cosine", "jaccard"], label="Score Type", value="jaccard"),
|
| 37 |
gr.Slider(minimum=0, maximum=1, step=0.1, label="Threshold for Cosine Similarity", value=0.1),
|
| 38 |
gr.Slider(minimum=0, maximum=1, step=0.1, label="Threshold for Jaccard Similarity", value=0.1)
|
|
|
|
| 32 |
demo = gr.Interface(
|
| 33 |
fn=main,
|
| 34 |
inputs=[
|
| 35 |
+
gr.Textbox(lines=1, placeholder="Type here...", value= "Simply Spiked Lemonade 12 pack at Walmart"),
|
| 36 |
gr.Dropdown(choices=["cosine", "jaccard"], label="Score Type", value="jaccard"),
|
| 37 |
gr.Slider(minimum=0, maximum=1, step=0.1, label="Threshold for Cosine Similarity", value=0.1),
|
| 38 |
gr.Slider(minimum=0, maximum=1, step=0.1, label="Threshold for Jaccard Similarity", value=0.1)
|