Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
add qwen sambanova tab
Browse files- app.py +3 -4
- app_sambanova_qwen.py +1 -0
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
3 |
from app_claude import demo as demo_claude
|
4 |
from app_fireworks import demo as demo_fireworks
|
5 |
from app_gemini import demo as demo_gemini
|
@@ -15,7 +15,6 @@ from app_sambanova import demo as demo_sambanova
|
|
15 |
from app_together import demo as demo_together
|
16 |
from app_xai import demo as demo_grok
|
17 |
from app_flux import demo as demo_flux
|
18 |
-
from app_sambanova_qwen import demo as demo_sambanova_qwen
|
19 |
|
20 |
with gr.Blocks(fill_height=True) as demo:
|
21 |
with gr.Tab("Meta Llama"):
|
@@ -25,12 +24,12 @@ with gr.Blocks(fill_height=True) as demo:
|
|
25 |
)
|
26 |
with gr.Tab("Gemini"):
|
27 |
demo_gemini.render()
|
|
|
|
|
28 |
with gr.Tab("ChatGPT"):
|
29 |
demo_openai.render()
|
30 |
with gr.Tab("Claude"):
|
31 |
demo_claude.render()
|
32 |
-
with gr.Tab("SambaNova Qwen"):
|
33 |
-
demo_sambanova_qwen.render()
|
34 |
with gr.Tab("Grok"):
|
35 |
demo_grok.render()
|
36 |
with gr.Tab("Hugging Face"):
|
|
|
1 |
import gradio as gr
|
2 |
+
from app_sambanova_qwen import demo as demo_sambanova_qwen
|
3 |
from app_claude import demo as demo_claude
|
4 |
from app_fireworks import demo as demo_fireworks
|
5 |
from app_gemini import demo as demo_gemini
|
|
|
15 |
from app_together import demo as demo_together
|
16 |
from app_xai import demo as demo_grok
|
17 |
from app_flux import demo as demo_flux
|
|
|
18 |
|
19 |
with gr.Blocks(fill_height=True) as demo:
|
20 |
with gr.Tab("Meta Llama"):
|
|
|
24 |
)
|
25 |
with gr.Tab("Gemini"):
|
26 |
demo_gemini.render()
|
27 |
+
with gr.Tab("SambaNova Qwen"):
|
28 |
+
demo_sambanova_qwen.render()
|
29 |
with gr.Tab("ChatGPT"):
|
30 |
demo_openai.render()
|
31 |
with gr.Tab("Claude"):
|
32 |
demo_claude.render()
|
|
|
|
|
33 |
with gr.Tab("Grok"):
|
34 |
demo_grok.render()
|
35 |
with gr.Tab("Hugging Face"):
|
app_sambanova_qwen.py
CHANGED
@@ -14,6 +14,7 @@ demo = get_app(
|
|
14 |
default_model="Qwen2.5-Coder-32B-Instruct",
|
15 |
src=sambanova_gradio.registry,
|
16 |
accept_token=not os.getenv("SAMBANOVA_API_KEY"),
|
|
|
17 |
)
|
18 |
|
19 |
if __name__ == "__main__":
|
|
|
14 |
default_model="Qwen2.5-Coder-32B-Instruct",
|
15 |
src=sambanova_gradio.registry,
|
16 |
accept_token=not os.getenv("SAMBANOVA_API_KEY"),
|
17 |
+
multimodal=True
|
18 |
)
|
19 |
|
20 |
if __name__ == "__main__":
|