anychat / app_qwen.py
akhaliq's picture
akhaliq HF staff
update default
168e09c
raw
history blame
532 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()