Skip to content

Commit 86e4e4a

Browse files
committed
changes
1 parent 373cd1c commit 86e4e4a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

trackio/deploy.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,15 @@ def deploy_as_space(
185185
repo_type="space",
186186
)
187187

188+
if bucket_id is not None:
189+
packages_buffer = io.BytesIO(b"nfs-common\n")
190+
hf_api.upload_file(
191+
path_or_fileobj=packages_buffer,
192+
path_in_repo="packages.txt",
193+
repo_id=space_id,
194+
repo_type="space",
195+
)
196+
188197
huggingface_hub.utils.disable_progress_bars()
189198

190199
if is_source_install:

0 commit comments

Comments
 (0)