Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -112,7 +112,7 @@ class EndpointHandler:
|
|
112 |
|
113 |
# Run the search and get results
|
114 |
results = searcher.run(k=3)
|
115 |
-
|
116 |
# Return the search results
|
117 |
return results
|
118 |
|
|
|
112 |
|
113 |
# Run the search and get results
|
114 |
results = searcher.run(k=3)
|
115 |
+
del searcher
|
116 |
# Return the search results
|
117 |
return results
|
118 |
|