File size: 357 Bytes
0ab0358
 
 
 
 
 
91394e0
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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/options.yaml", default_config="config/default.yaml"
    ).create_interface()
    demo.launch()


if __name__ == "__main__":
    main()