Spaces:
Sleeping
Sleeping
Download utils.py from aeolusyansheng/multi-agent: direct link, hf CLI and curl.
- Browser
- Download file 286 Bytes
-
https://huggingface.co/spaces/aeolusyansheng/multi-agent/resolve/main/utils.py
- Command line
-
hf download hf://spaces/aeolusyansheng/multi-agent/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/aeolusyansheng/multi-agent/resolve/main/utils.py
286 Bytes
| LANGUAGE_INSTRUCTIONS = { | |
| "zh": "请使用简体中文输出。", | |
| "ja": "日本語で出力してください。", | |
| "en": "Please output in English.", | |
| } | |
| def get_language_instruction(lang: str) -> str: | |
| return LANGUAGE_INSTRUCTIONS.get(lang, LANGUAGE_INSTRUCTIONS["en"]) | |