add sambanova qwen
Browse filesFiles changed (2)
- app.py+4
- app_sambanova_qwen.pyAdded+21
14 unmodified lines151617181920217 unmodified lines293031323334353617 unmodified lines54555657585914 unmodified linesfrom app_together import demo as demo_togetherfrom app_xai import demo as demo_grokfrom app_flux import demo as demo_fluxfrom app_sambanova_qwen import demo as demo_sambanova_qwen
with gr.Blocks(fill_height=True) as demo: with gr.Tab("Meta Llama"):7 unmodified lines demo_openai.render() with gr.Tab("Claude"): demo_claude.render() with gr.Tab("SambaNova Qwen"): demo_sambanova_qwen.render() with gr.Tab("Grok"): demo_grok.render() with gr.Tab("Hugging Face"):17 unmodified lines with gr.Tab("Flux"): demo_flux.render()
if __name__ == "__main__": demo.queue(api_open=False).launch(ssr_mode=False, show_api=False)123456789101112131415161718192021import os
import sambanova_gradio
from utils import get_app
demo = get_app( models=[ "Qwen2.5-Coder-0.5B-Instruct", "Qwen2.5-0.5B-Instruct", "Qwen2.5-Coder-32B-Instruct", "Qwen2.5-72B-Instruct", ], default_model="Qwen2.5-Coder-32B-Instruct", src=sambanova_gradio.registry, accept_token=not os.getenv("SAMBANOVA_API_KEY"), multimodal=True,)
if __name__ == "__main__": demo.launch()app.py+4
app_sambanova_qwen.pyAdded+21