Spaces:
Runtime error
Runtime error
Update ✨Entity Linking Application✨.py
Browse files
✨Entity Linking Application✨.py
CHANGED
|
@@ -30,7 +30,7 @@ if not os.path.exists(folder_path):
|
|
| 30 |
os.mkdir(folder_path)
|
| 31 |
print(f"folder created at {folder_path}")
|
| 32 |
else:
|
| 33 |
-
|
| 34 |
|
| 35 |
|
| 36 |
folder_path_1 = '/home/user/app/info_extraction'
|
|
@@ -39,7 +39,7 @@ if not os.path.exists(folder_path_1):
|
|
| 39 |
os.mkdir(folder_path_1)
|
| 40 |
print(f"Folder created at {folder_path_1}")
|
| 41 |
else:
|
| 42 |
-
|
| 43 |
|
| 44 |
model = SentenceTransformer("Lajavaness/bilingual-embedding-large", trust_remote_code=True)
|
| 45 |
|
|
|
|
| 30 |
os.mkdir(folder_path)
|
| 31 |
print(f"folder created at {folder_path}")
|
| 32 |
else:
|
| 33 |
+
pass
|
| 34 |
|
| 35 |
|
| 36 |
folder_path_1 = '/home/user/app/info_extraction'
|
|
|
|
| 39 |
os.mkdir(folder_path_1)
|
| 40 |
print(f"Folder created at {folder_path_1}")
|
| 41 |
else:
|
| 42 |
+
pass
|
| 43 |
|
| 44 |
model = SentenceTransformer("Lajavaness/bilingual-embedding-large", trust_remote_code=True)
|
| 45 |
|