Spaces:
Running
Running
Download app_qwen.py from akhaliq/anycoder: direct link, hf CLI and curl.
- Browser
- Download file 558 Bytes
-
https://huggingface.co/spaces/akhaliq/anycoder/resolve/531b2a0d8df6a156c98c08c19926585f1526bffd/app_qwen.py
- Command line
-
hf download hf://spaces/akhaliq/anycoder@531b2a0d8df6a156c98c08c19926585f1526bffd/app_qwen.py
-
curl -L -o app_qwen.py https://huggingface.co/spaces/akhaliq/anycoder/resolve/531b2a0d8df6a156c98c08c19926585f1526bffd/app_qwen.py
558 Bytes
| import os | |
| import dashscope_gradio | |
| from utils import get_app | |
| demo = get_app( | |
| models=[ | |
| "qwen-turbo-latest", | |
| "qwen-turbo", | |
| "qwen-plus", | |
| "qwen-max", | |
| "qwen1.5-110b-chat", | |
| "qwen1.5-72b-chat", | |
| "qwen1.5-32b-chat", | |
| "qwen1.5-14b-chat", | |
| "qwen1.5-7b-chat", | |
| "qwq-32b-preview", | |
| "qvq-72b-preview", | |
| ], | |
| default_model="qvq-72b-preview", | |
| src=dashscope_gradio.registry, | |
| accept_token=not os.getenv("DASHSCOPE_API_KEY"), | |
| ) | |
| if __name__ == "__main__": | |
| demo.launch() | |