Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -48,14 +48,6 @@ def load_project_id(json_file):
|
|
48 |
data = json.load(f)
|
49 |
return data['project_id']
|
50 |
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
def download_gitlab_repo():
|
60 |
print("Start the upload_gitRepository function")
|
61 |
project_id = load_project_id('repository_ids.json')
|
@@ -165,7 +157,7 @@ def process_directory(directory, folder_paths, file_paths):
|
|
165 |
text = f"SVG file content from {file_path}"
|
166 |
elif file_ext in ['.png', '.ico']:
|
167 |
text = f"Image metadata from {file_path}"
|
168 |
-
else
|
169 |
continue
|
170 |
|
171 |
all_texts.append(text)
|
|
|
48 |
data = json.load(f)
|
49 |
return data['project_id']
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
def download_gitlab_repo():
|
52 |
print("Start the upload_gitRepository function")
|
53 |
project_id = load_project_id('repository_ids.json')
|
|
|
157 |
text = f"SVG file content from {file_path}"
|
158 |
elif file_ext in ['.png', '.ico']:
|
159 |
text = f"Image metadata from {file_path}"
|
160 |
+
else:
|
161 |
continue
|
162 |
|
163 |
all_texts.append(text)
|