update sambanova tab
Browse files- app.py +9 -9
- app_sambanova.py +3 -1
app.py
CHANGED
|
@@ -28,6 +28,15 @@ from app_showui import demo as demo_showui
|
|
| 28 |
from app_omini import demo as demo_omini
|
| 29 |
|
| 30 |
with gr.Blocks(fill_height=True) as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
with gr.Tab("Hyperbolic (New Meta Llama 3.3 70B)"):
|
| 32 |
demo_hyperbolic.render()
|
| 33 |
gr.Markdown(
|
|
@@ -104,15 +113,6 @@ with gr.Blocks(fill_height=True) as demo:
|
|
| 104 |
with gr.Tab("Experimental"):
|
| 105 |
demo_experimental.render()
|
| 106 |
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
| 107 |
-
with gr.Tab("Meta Llama"):
|
| 108 |
-
demo_sambanova.render()
|
| 109 |
-
gr.Markdown(
|
| 110 |
-
"""
|
| 111 |
-
**Note:** You need to use a SambaNova API key from [SambaNova Cloud](https://cloud.sambanova.ai/).
|
| 112 |
-
|
| 113 |
-
This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.
|
| 114 |
-
"""
|
| 115 |
-
)
|
| 116 |
with gr.Tab("Marco-o1"):
|
| 117 |
demo_marco_o1.render()
|
| 118 |
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
|
|
|
| 28 |
from app_omini import demo as demo_omini
|
| 29 |
|
| 30 |
with gr.Blocks(fill_height=True) as demo:
|
| 31 |
+
with gr.Tab("SambaNova (New Qwen 2.5 72B and Qwen 2.5 Coder 32B)"):
|
| 32 |
+
demo_sambanova.render()
|
| 33 |
+
gr.Markdown(
|
| 34 |
+
"""
|
| 35 |
+
**Note:** You need to use a SambaNova API key from [SambaNova Cloud](https://cloud.sambanova.ai/).
|
| 36 |
+
|
| 37 |
+
This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.
|
| 38 |
+
"""
|
| 39 |
+
)
|
| 40 |
with gr.Tab("Hyperbolic (New Meta Llama 3.3 70B)"):
|
| 41 |
demo_hyperbolic.render()
|
| 42 |
gr.Markdown(
|
|
|
|
| 113 |
with gr.Tab("Experimental"):
|
| 114 |
demo_experimental.render()
|
| 115 |
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
with gr.Tab("Marco-o1"):
|
| 117 |
demo_marco_o1.render()
|
| 118 |
gr.Markdown("This app is built with gradio, check out gradio github and star: <a href='https://github.com/gradio-app/gradio'>Gradio <img src='https://img.shields.io/github/stars/gradio-app/gradio'></a>.")
|
app_sambanova.py
CHANGED
|
@@ -13,8 +13,10 @@ demo = get_app(
|
|
| 13 |
"Meta-Llama-3.1-8B-Instruct",
|
| 14 |
"Meta-Llama-3.1-70B-Instruct",
|
| 15 |
"Meta-Llama-3.1-405B-Instruct",
|
|
|
|
|
|
|
| 16 |
],
|
| 17 |
-
default_model="
|
| 18 |
src=sambanova_gradio.registry,
|
| 19 |
accept_token=not os.getenv("SAMBANOVA_API_KEY"),
|
| 20 |
multimodal=True,
|
|
|
|
| 13 |
"Meta-Llama-3.1-8B-Instruct",
|
| 14 |
"Meta-Llama-3.1-70B-Instruct",
|
| 15 |
"Meta-Llama-3.1-405B-Instruct",
|
| 16 |
+
"Qwen2.5-72B-Instruct",
|
| 17 |
+
"Qwen2.5-Coder-32B-Instruct",
|
| 18 |
],
|
| 19 |
+
default_model="Qwen2.5-72B-Instruct",
|
| 20 |
src=sambanova_gradio.registry,
|
| 21 |
accept_token=not os.getenv("SAMBANOVA_API_KEY"),
|
| 22 |
multimodal=True,
|