anychat / app_qwen.py
hysts's picture
hysts HF staff
Update
c985083
raw
history blame
533 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",
],
default_model="qwen-turbo-latest",
src=dashscope_gradio.registry,
accept_token=not os.getenv("DASHSCOPE_API_KEY"),
)
if __name__ == "__main__":
demo.launch()