File size: 481 Bytes
5040f3f
681be0e
5040f3f
 
 
681be0e
 
5040f3f
681be0e
 
5040f3f
 
681be0e
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
"""Gradio front end for this project's demo.

The experiment, the controls and the actions all live in demo_core.py; this
file only chooses a front end for them. The browser build (index.html) renders
exactly the same spec without a server.
"""

import demo_core
import demo_shell

demo = demo_shell.shell_from_core(
    demo_core,
    "Is multi-concept interference schedulable? Unlearning in diffusion models.",
)

if __name__ == "__main__":
    demo.launch(**demo_shell.LAUNCH)