Spaces:
Sleeping
Sleeping
th8m0z
commited on
Commit
·
7dad24a
1
Parent(s):
0826ebe
correct sentence encoder url
Browse files- __pycache__/app.cpython-311.pyc +0 -0
- app.py +1 -1
__pycache__/app.cpython-311.pyc
CHANGED
Binary files a/__pycache__/app.cpython-311.pyc and b/__pycache__/app.cpython-311.pyc differ
|
|
app.py
CHANGED
@@ -60,7 +60,7 @@ def text_to_chunks(texts, word_length=150, start_page=1, file_number=1):
|
|
60 |
class SemanticSearch:
|
61 |
|
62 |
def __init__(self):
|
63 |
-
self.use = hub.load('
|
64 |
self.fitted = False
|
65 |
|
66 |
|
|
|
60 |
class SemanticSearch:
|
61 |
|
62 |
def __init__(self):
|
63 |
+
self.use = hub.load('https://tfhub.dev/google/universal-sentence-encoder/4')
|
64 |
self.fitted = False
|
65 |
|
66 |
|