File size: 316 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
import os

import fireworks_gradio

from utils import get_app

demo = get_app(
    models=[
        "f1-preview",
        "f1-mini-preview",
    ],
    default_model="f1-preview",
    src=fireworks_gradio.registry,
    accept_token=not os.getenv("FIREWORKS_API_KEY"),
)

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