add qwen new model
Browse files- app.py +9 -9
- app_hyperbolic.py +2 -1
app.py
CHANGED
|
@@ -20,6 +20,15 @@ from app_experimental import demo as demo_experimental
|
|
| 20 |
from app_allenai import demo as demo_allenai
|
| 21 |
|
| 22 |
with gr.Blocks(fill_height=True) as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
with gr.Tab("Qwen"):
|
| 24 |
demo_qwen.render()
|
| 25 |
with gr.Tab("Experimental"):
|
|
@@ -45,15 +54,6 @@ with gr.Blocks(fill_height=True) as demo:
|
|
| 45 |
demo_grok.render()
|
| 46 |
with gr.Tab("Groq"):
|
| 47 |
demo_groq.render()
|
| 48 |
-
with gr.Tab("Hyperbolic"):
|
| 49 |
-
demo_hyperbolic.render()
|
| 50 |
-
gr.Markdown("""
|
| 51 |
-
<div>
|
| 52 |
-
<img src="https://storage.googleapis.com/public-arena-asset/hyperbolic_logo.png" alt="Hyperbolic Logo" style="height: 50px; margin-right: 10px;">
|
| 53 |
-
</div>
|
| 54 |
-
|
| 55 |
-
**Note:** This model is supported by Hyperbolic. Build your AI apps at [Hyperbolic](https://app.hyperbolic.xyz/).
|
| 56 |
-
""")
|
| 57 |
with gr.Tab("Perplexity"):
|
| 58 |
demo_perplexity.render()
|
| 59 |
with gr.Tab("Mistral"):
|
|
|
|
| 20 |
from app_allenai import demo as demo_allenai
|
| 21 |
|
| 22 |
with gr.Blocks(fill_height=True) as demo:
|
| 23 |
+
with gr.Tab("Hyperbolic"):
|
| 24 |
+
demo_hyperbolic.render()
|
| 25 |
+
gr.Markdown("""
|
| 26 |
+
<div>
|
| 27 |
+
<img src="https://storage.googleapis.com/public-arena-asset/hyperbolic_logo.png" alt="Hyperbolic Logo" style="height: 50px; margin-right: 10px;">
|
| 28 |
+
</div>
|
| 29 |
+
|
| 30 |
+
**Note:** This model is supported by Hyperbolic. Build your AI apps at [Hyperbolic](https://app.hyperbolic.xyz/).
|
| 31 |
+
""")
|
| 32 |
with gr.Tab("Qwen"):
|
| 33 |
demo_qwen.render()
|
| 34 |
with gr.Tab("Experimental"):
|
|
|
|
| 54 |
demo_grok.render()
|
| 55 |
with gr.Tab("Groq"):
|
| 56 |
demo_groq.render()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
with gr.Tab("Perplexity"):
|
| 58 |
demo_perplexity.render()
|
| 59 |
with gr.Tab("Mistral"):
|
app_hyperbolic.py
CHANGED
|
@@ -15,8 +15,9 @@ demo = get_app(
|
|
| 15 |
"Qwen/Qwen2.5-72B-Instruct",
|
| 16 |
"deepseek-ai/DeepSeek-V2.5",
|
| 17 |
"meta-llama/Meta-Llama-3.1-405B-Instruct",
|
|
|
|
| 18 |
],
|
| 19 |
-
default_model="Qwen/
|
| 20 |
src=hyperbolic_gradio.registry,
|
| 21 |
accept_token=not os.getenv("HYPERBOLIC_API_KEY"),
|
| 22 |
)
|
|
|
|
| 15 |
"Qwen/Qwen2.5-72B-Instruct",
|
| 16 |
"deepseek-ai/DeepSeek-V2.5",
|
| 17 |
"meta-llama/Meta-Llama-3.1-405B-Instruct",
|
| 18 |
+
"Qwen/QwQ-32B-Preview",
|
| 19 |
],
|
| 20 |
+
default_model="Qwen/QwQ-32B-Preview",
|
| 21 |
src=hyperbolic_gradio.registry,
|
| 22 |
accept_token=not os.getenv("HYPERBOLIC_API_KEY"),
|
| 23 |
)
|