Update app.py
Browse files
app.py
CHANGED
@@ -16,21 +16,9 @@ import sys
|
|
16 |
|
17 |
current_directory = os.getcwd()
|
18 |
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
os.mkdir(new_folder_path_1)
|
23 |
-
print(f"Folder '{folder_name}' created at {new_folder_path_1}")
|
24 |
-
else:
|
25 |
-
print(f"Folder '{folder_name}' already exists.")
|
26 |
-
|
27 |
-
folder_name_2 = "info_extraction"
|
28 |
-
new_folder_path_2 = os.path.join(current_directory, folder_name)
|
29 |
-
if not os.path.exists(new_folder_path_2):
|
30 |
-
os.mkdir(new_folder_path_2)
|
31 |
-
print(f"Folder '{folder_name}' created at {new_folder_path_2}")
|
32 |
-
else:
|
33 |
-
print(f"Folder '{folder_name}' already exists.")
|
34 |
|
35 |
model = SentenceTransformer("Lajavaness/bilingual-embedding-large", trust_remote_code=True)
|
36 |
|
|
|
16 |
|
17 |
current_directory = os.getcwd()
|
18 |
|
19 |
+
files = os.listdir(current_directory)
|
20 |
+
|
21 |
+
print(files)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
23 |
model = SentenceTransformer("Lajavaness/bilingual-embedding-large", trust_remote_code=True)
|
24 |
|