Spaces:
Paused
Paused
Commit
•
e5e36ab
1
Parent(s):
a4446eb
added in requests
Browse files- algo.py +1 -0
- requirements.txt +1 -0
algo.py
CHANGED
@@ -133,6 +133,7 @@ class Algo:
|
|
133 |
break
|
134 |
|
135 |
dictionary_words = [mapping['dictionary_word'] for mapping in mappings]
|
|
|
136 |
if len(set(dictionary_words)) == 0:
|
137 |
return {
|
138 |
'input_word': input_word,
|
|
|
133 |
break
|
134 |
|
135 |
dictionary_words = [mapping['dictionary_word'] for mapping in mappings]
|
136 |
+
print("dictionary words -> ", dictionary_words)
|
137 |
if len(set(dictionary_words)) == 0:
|
138 |
return {
|
139 |
'input_word': input_word,
|
requirements.txt
CHANGED
@@ -8,6 +8,7 @@ pluralizer==1.2.0
|
|
8 |
psycopg2-binary==2.9.9
|
9 |
python-dotenv==1.0.1
|
10 |
python-Levenshtein==0.25.1
|
|
|
11 |
sentence_transformers==3.0.1
|
12 |
spacy==3.7.5
|
13 |
torch==2.3.1
|
|
|
8 |
psycopg2-binary==2.9.9
|
9 |
python-dotenv==1.0.1
|
10 |
python-Levenshtein==0.25.1
|
11 |
+
requests==2.32.3
|
12 |
sentence_transformers==3.0.1
|
13 |
spacy==3.7.5
|
14 |
torch==2.3.1
|