Spaces:
Runtime error
Runtime error
Clémentine
commited on
Commit
•
a99162a
1
Parent(s):
80b8ca3
remove HF home from CI
Browse files
app.py
CHANGED
@@ -378,9 +378,9 @@ scheduler.start()
|
|
378 |
# Both launches the space and its CI
|
379 |
configure_space_ci(
|
380 |
demo.queue(default_concurrency_limit=40),
|
381 |
-
trusted_authors=[
|
382 |
private="True", # ephemeral spaces will have same visibility as the main space. Otherwise, set to `True` or `False` explicitly.
|
383 |
-
variables=
|
384 |
secrets=["HF_TOKEN", "H4_TOKEN"], # which secret do I want to copy from the main space? Can be a `List[str]`.
|
385 |
hardware=None, # "cpu-basic" by default. Otherwise set to "auto" to have same hardware as the main space or any valid string value.
|
386 |
storage=None, # no storage by default. Otherwise set to "auto" to have same storage as the main space or any valid string value.
|
|
|
378 |
# Both launches the space and its CI
|
379 |
configure_space_ci(
|
380 |
demo.queue(default_concurrency_limit=40),
|
381 |
+
trusted_authors=[], # add manually trusted authors
|
382 |
private="True", # ephemeral spaces will have same visibility as the main space. Otherwise, set to `True` or `False` explicitly.
|
383 |
+
variables={}, # We overwrite HF_HOME as tmp CI spaces will have no cache
|
384 |
secrets=["HF_TOKEN", "H4_TOKEN"], # which secret do I want to copy from the main space? Can be a `List[str]`.
|
385 |
hardware=None, # "cpu-basic" by default. Otherwise set to "auto" to have same hardware as the main space or any valid string value.
|
386 |
storage=None, # no storage by default. Otherwise set to "auto" to have same storage as the main space or any valid string value.
|