Spaces:
Restarting on CPU Upgrade

File size: 400 Bytes
ab298fb
6b720a2
ab298fb
 
 
 
 
 
 
6b720a2
ab298fb
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import replicate_gradio

from utils import get_app

demo = get_app(
    models=[
        "black-forest-labs/flux-depth-pro",
        "black-forest-labs/flux-canny-pro",
        "black-forest-labs/flux-fill-pro",
        "black-forest-labs/flux-depth-dev",
    ],
    default_model="black-forest-labs/flux-depth-pro",
    src=replicate_gradio.registry,
)

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