Spaces:
Build error
Build error
Commit
Β·
2bbff8e
1
Parent(s):
0bad089
Update app.py
Browse files
app.py
CHANGED
@@ -37,8 +37,8 @@ def search(token_to_lookup, num_neighbors):
|
|
37 |
iface = gr.Interface(
|
38 |
fn=search,
|
39 |
|
40 |
-
inputs=[gr.Textbox(lines=1, label="Vocabulary Token", placeholder="Enter token..."), gr.Number(value=50, label="number of neighbors")],
|
41 |
-
|
42 |
outputs=[gr.Textbox(label="Nearest tokens"), gr.Textbox(label="Nearest subwords")],
|
43 |
examples=[
|
44 |
["##logy"],
|
|
|
37 |
iface = gr.Interface(
|
38 |
fn=search,
|
39 |
|
40 |
+
#inputs=[gr.Textbox(lines=1, label="Vocabulary Token", placeholder="Enter token..."), gr.Number(value=50, label="number of neighbors")],
|
41 |
+
inputs=gr.Textbox(lines=1, label="Vocabulary Token", placeholder="Enter token..."),
|
42 |
outputs=[gr.Textbox(label="Nearest tokens"), gr.Textbox(label="Nearest subwords")],
|
43 |
examples=[
|
44 |
["##logy"],
|