Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,7 +83,8 @@ def upload_gitRepository():
|
|
| 83 |
path_in_repo=target_path,
|
| 84 |
repo_id=HF_SPACE_NAME,
|
| 85 |
repo_type='space'
|
| 86 |
-
)
|
|
|
|
| 87 |
#print(f"Repository '{project_id}' downloaded and uploaded to Hugging Face space '{HF_SPACE_NAME}' in folder '{REPOSITORY_DIRECTORY}' with original file name '{filename}'")
|
| 88 |
|
| 89 |
def process_directory(directory):
|
|
|
|
| 83 |
path_in_repo=target_path,
|
| 84 |
repo_id=HF_SPACE_NAME,
|
| 85 |
repo_type='space'
|
| 86 |
+
)
|
| 87 |
+
print("Uploading File to directory")
|
| 88 |
#print(f"Repository '{project_id}' downloaded and uploaded to Hugging Face space '{HF_SPACE_NAME}' in folder '{REPOSITORY_DIRECTORY}' with original file name '{filename}'")
|
| 89 |
|
| 90 |
def process_directory(directory):
|