Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 446 Bytes
16d456d c985083 16d456d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
import 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()
|