Spaces:
Runtime error
Runtime error
ThibaultFy
commited on
Commit
•
280d208
1
Parent(s):
9fde82b
Update substra_launcher.py
Browse files- substra_launcher.py +6 -0
substra_launcher.py
CHANGED
@@ -30,4 +30,10 @@ async def launch_substra_space(
|
|
30 |
path_in_repo="Dockerfile",
|
31 |
repo_type="space",
|
32 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
return repo_url
|
|
|
30 |
path_in_repo="Dockerfile",
|
31 |
repo_type="space",
|
32 |
)
|
33 |
+
hf_api.upload_file(
|
34 |
+
repo_id=repo_id,
|
35 |
+
path_or_fileobj="substra_template/README.md",
|
36 |
+
path_in_repo="README.md",
|
37 |
+
repo_type="space",
|
38 |
+
)
|
39 |
return repo_url
|