Spaces:
Build error
Build error
Commit
Β·
c294475
1
Parent(s):
b69c5b6
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,8 @@ def search(token_to_lookup, num_neighbors):
|
|
28 |
iface = gr.Interface(
|
29 |
fn=search,
|
30 |
|
31 |
-
inputs=[gr.Textbox(lines=1, label="Vocabulary Token", placeholder="Enter token..."), gr.Number(value=50, label="number of neighbors")],
|
|
|
32 |
outputs=gr.Textbox(label="Nearest subwords"),
|
33 |
examples=[
|
34 |
["##logy"],
|
|
|
28 |
iface = gr.Interface(
|
29 |
fn=search,
|
30 |
|
31 |
+
#inputs=[gr.Textbox(lines=1, label="Vocabulary Token", placeholder="Enter token..."), gr.Number(value=50, label="number of neighbors")],
|
32 |
+
inputs=[gr.Textbox(lines=1, label="Vocabulary Token", placeholder="Enter token..."),
|
33 |
outputs=gr.Textbox(label="Nearest subwords"),
|
34 |
examples=[
|
35 |
["##logy"],
|