File size: 475 Bytes
7360ef0
c44529f
7360ef0
c919a10
70fbba8
 
531b2a0
a8120a0
890265a
33e7a65
267b04d
8146464
f57f58c
8146464
 
267b04d
16d456d
0a632f8
39a8e63
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from app_huggingface import demo as demo_huggingface
from app_mistral import demo as demo_mistral
from utils import get_app

# Create mapping of providers to their demos
PROVIDERS = {
    "Mistral": demo_mistral,
 #   "Huggingface": demo_huggingface,
}

demo = get_app(
    models=list(PROVIDERS.keys()),
    default_model="Mistral",
    src=PROVIDERS,
    dropdown_label="Select Provider",
)

if __name__ == "__main__":
    demo.queue(api_open=False).launch(show_api=False)