Spaces:
Build error
Build error
Commit
Β·
c83bbd7
1
Parent(s):
3d77f49
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,8 @@ def search(token_to_lookup, num_neighbors=100):
|
|
| 27 |
|
| 28 |
iface = gr.Interface(
|
| 29 |
fn=search,
|
| 30 |
-
|
|
|
|
| 31 |
outputs=gr.Textbox(label="Results"),
|
| 32 |
examples=[
|
| 33 |
["##logy"],
|
|
|
|
| 27 |
|
| 28 |
iface = gr.Interface(
|
| 29 |
fn=search,
|
| 30 |
+
|
| 31 |
+
inputs=[gr.Textbox(lines=1, placeholder="Enter token..."), "number"]
|
| 32 |
outputs=gr.Textbox(label="Results"),
|
| 33 |
examples=[
|
| 34 |
["##logy"],
|