add qwen
Browse filesFiles changed (2)
- app.py+25-10
- requirements.txt+1
11 unmodified lines121314151617276 unmodified lines2942952962972982993003013023033043053063073083093103113123133143153163174 unmodified lines32232332432532632732832933033133211 unmodified linesimport groq_gradioimport together_gradioimport nvidia_gradio276 unmodified lineswith gr.Row():qwen_model = gr.Dropdown(choices=['Qwen/Qwen2.5-72B-Instruct','Qwen/Qwen2.5-Coder-32B-Instruct'],value='Qwen/Qwen2.5-72B-Instruct',label="Select Qwen Model",interactive=True)qwen_interface = gr.load(name=qwen_model.value,src=hyperbolic_gradio.registry,fill_height=True)def update_qwen_model(new_model):return gr.load(name=new_model,src=hyperbolic_gradio.registry,fill_height=True)4 unmodified lines)gr.Markdown("""<div><img src="https://storage.googleapis.com/public-arena-asset/hyperbolic_logo.png" alt="Hyperbolic Logo" style="height: 50px; margin-right: 10px;"></div>**Note:** This model is supported by Hyperbolic. Build your AI apps at [Hyperbolic](https://app.hyperbolic.xyz/).""")with gr.Tab("Perplexity"):with gr.Row():11 unmodified lines12131415161718276 unmodified lines2952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263274 unmodified lines33233333433533633733833934034134234334434534634711 unmodified linesimport groq_gradioimport together_gradioimport nvidia_gradioimport dashscope_gradio276 unmodified lineswith gr.Row():qwen_model = gr.Dropdown(choices=[# Proprietary Qwen Models'qwen-turbo-latest','qwen-turbo','qwen-plus','qwen-max',# Open Source Qwen Models'qwen1.5-110b-chat','qwen1.5-72b-chat','qwen1.5-32b-chat','qwen1.5-14b-chat','qwen1.5-7b-chat'],value='qwen-turbo-latest', # Default to the latest turbo modellabel="Select Qwen Model",interactive=True)qwen_interface = gr.load(name=qwen_model.value,src=dashscope_gradio.registry,fill_height=True)def update_qwen_model(new_model):return gr.load(name=new_model,src=dashscope_gradio.registry,fill_height=True)4 unmodified lines)gr.Markdown("""**Note:** You need a DashScope API key to use these models. Get one at [DashScope](https://dashscope.aliyun.com/).Models available in two categories:- **Proprietary Models**:- Qwen Turbo: Fast responses for general tasks- Qwen Plus: Balanced performance and quality- Qwen Max: Highest quality responses- **Open Source Models**:- Available in various sizes from 7B to 110B parameters- Based on the Qwen 1.5 architecture""")with gr.Tab("Perplexity"):with gr.Row():
10 unmodified lines11121310 unmodified linesgroq-gradiotogether-gradiogit+https://github.com/AK391/nvidia-gradio.git10 unmodified lines1112131410 unmodified linesgroq-gradiotogether-gradiogit+https://github.com/AK391/nvidia-gradio.gitgit+https://github.com/AK391/dashscope-gradio.git
app.py+25-10
requirements.txt+1