Spaces:
Build error
Build error
Commit
Β·
60220a8
1
Parent(s):
9c44dc5
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def search(token_to_lookup, num_neighbors):
|
|
37 |
hits = lookup_table.take(I[0])
|
38 |
results = hits.values[1:]
|
39 |
results = [r for r in results if not "[unused" in r]
|
40 |
-
return [r for r in results if not "##" in r], [
|
41 |
|
42 |
|
43 |
iface = gr.Interface(
|
|
|
37 |
hits = lookup_table.take(I[0])
|
38 |
results = hits.values[1:]
|
39 |
results = [r for r in results if not "[unused" in r]
|
40 |
+
return [r for r in results if not "##" in r], [r for r in results if "##" in r]
|
41 |
|
42 |
|
43 |
iface = gr.Interface(
|