mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[Feature] multi source download (#3005)
* multi-source download * multi-source download * huggingface download revision * requirement * style * add revision arg * test * pre-commit * Change default download * change requirements.txt * modify English Documentation * documentation
This commit is contained in:
@@ -31,7 +31,7 @@ environment_variables: dict[str, Callable[[], Any]] = {
|
||||
# Number of days to keep fastdeploy logs.
|
||||
"FD_LOG_BACKUP_COUNT": lambda: os.getenv("FD_LOG_BACKUP_COUNT", "7"),
|
||||
# Model download source, can set "AISTUDIO", "MODELSCOPE" or "HUGGINGFACE".
|
||||
"FD_MODEL_SOURCE": lambda: os.getenv("FD_MODEL_SOURCE", "MODELSCOPE"),
|
||||
"FD_MODEL_SOURCE": lambda: os.getenv("FD_MODEL_SOURCE", "AISTUDIO"),
|
||||
# Model download cache directory.
|
||||
"FD_MODEL_CACHE": lambda: os.getenv("FD_MODEL_CACHE", None),
|
||||
# Maximum number of stop sequences.
|
||||
|
||||
Reference in New Issue
Block a user