Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 558 Bytes
e8fb5c0 4dc4b70 0a632f8 4dc4b70 0a632f8 4dc4b70 a9290e3 e8fb5c0 0a632f8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
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()
|