Skip to content

Commit

Permalink
update-team-files-path (#4)
Browse files Browse the repository at this point in the history
* update team file path

* typo
  • Loading branch information
peixed351 authored Jan 9, 2023
1 parent f20262c commit b5376d6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"export"
],
"description": "images and JSON annotations",
"docker_image": "supervisely/base-py-sdk:6.68.54",
"docker_image": "supervisely/base-py-sdk:6.68.95",
"instance_version": "6.5.1",
"main_script": "src/main.py",
"modal_template": "src/modal.html",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
supervisely==6.68.54
supervisely==6.68.95
3 changes: 2 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ def download_as_sly(api: sly.Api, task_id, context, state, app_logger):
sly.fs.archive_directory(download_dir, result_archive)
app_logger.info("Result directory is archived")
upload_progress = []
remote_archive_path = "/Export-to-Supervisely/{}_{}".format(task_id, full_archive_name)
remote_archive_path = os.path.join(
sly.team_files.RECOMMENDED_EXPORT_PATH, "export-to-supervisely-format/{}_{}".format(task_id, full_archive_name))

def _print_progress(monitor, upload_progress):
if len(upload_progress) == 0:
Expand Down

0 comments on commit b5376d6

Please sign in to comment.