File size: 386 Bytes
0ab0358
 
 
 
 
 
91394e0
 
 
 
 
50dd0bc
 
91394e0
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import os
from huggingface_hub import login

if os.getenv("HF_TOKEN"):
    login(token=os.getenv("HF_TOKEN"))

from interface import GradioInterface


def main():
    demo = GradioInterface(
        options_config="config/interface/options.yaml",
        default_config="config/interface/default.yaml",
    ).create_interface()
    demo.launch()


if __name__ == "__main__":
    main()