We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 373cd1c commit 86e4e4aCopy full SHA for 86e4e4a
1 file changed
trackio/deploy.py
@@ -185,6 +185,15 @@ def deploy_as_space(
185
repo_type="space",
186
)
187
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
+
197
huggingface_hub.utils.disable_progress_bars()
198
199
if is_source_install:
0 commit comments