From 15b1981d298249c29f2b3390a33892619e495f85 Mon Sep 17 00:00:00 2001 From: GoldenAnpu Date: Fri, 21 Jun 2024 16:02:21 +0200 Subject: [PATCH] Add workflow --- dev_requirements.txt | 1 - requirements.txt | 1 + src/main.py | 3 +++ 3 files changed, 4 insertions(+), 1 deletion(-) delete mode 100644 dev_requirements.txt create mode 100644 requirements.txt diff --git a/dev_requirements.txt b/dev_requirements.txt deleted file mode 100644 index c94fd94..0000000 --- a/dev_requirements.txt +++ /dev/null @@ -1 +0,0 @@ -supervisely==6.73.104 diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..c67997b --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +git+https://github.com/supervisely/supervisely.git@workflow+versions \ No newline at end of file diff --git a/src/main.py b/src/main.py index 27b0701..65a88f3 100644 --- a/src/main.py +++ b/src/main.py @@ -109,3 +109,6 @@ def download(project: sly.Project) -> str: download_dir = download(project) sly.output.set_download(download_dir) sly.logger.info("Archive uploaded and ready for download.") + api.app.add_input_project(project) + file_id = api.file.get_info_by_path(download_dir).id + api.app.add_output_file(file_id)