File size: 414 Bytes
0a632f8
 
 
 
 
 
 
 
613d582
 
0a632f8
 
dc944d5
0a632f8
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from utils import get_app

demo = get_app(
    models=[
        "microsoft/Phi-3.5-mini-instruct",
        "HuggingFaceTB/SmolLM2-1.7B-Instruct",
        "google/gemma-2-2b-it",
        "openai-community/gpt2",
        "microsoft/phi-2",
        "TinyLlama/TinyLlama-1.1B-Chat-v1.0",
    ],
    default_model="HuggingFaceTB/SmolLM2-1.7B-Instruct",
    src="models",
)

if __name__ == "__main__":
    demo.launch()