Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 608 Bytes
e8fb5c0 0a632f8 dc944d5 e8fb5c0 0a632f8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
import os
import mistral_gradio
from utils import get_app
demo = get_app(
models=[
"mistral-large-latest",
"pixtral-large-latest",
"ministral-3b-latest",
"ministral-8b-latest",
"mistral-small-latest",
"codestral-latest",
"mistral-embed",
"mistral-moderation-latest",
"pixtral-12b-2409",
"open-mistral-nemo",
"open-codestral-mamba",
],
default_model="pixtral-large-latest",
src=mistral_gradio.registry,
accept_token=not os.getenv("MISTRAL_API_KEY"),
)
if __name__ == "__main__":
demo.launch()
|