File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 66DEFAULT_SERVER_NAME = "127.0.0.1"
77DEFAULT_PORT = 6969
88MAX_PORT_ATTEMPTS = 10
9-
9+ import assets . themes . loadThemes as loadThemes
1010# Set up logging
1111logging .getLogger ("uvicorn" ).setLevel (logging .WARNING )
1212logging .getLogger ("httpx" ).setLevel (logging .WARNING )
2828
2929
3030
31- # Load theme (demo)
32- #import assets.themes.loadThemes as loadThemes
33- # loadThemes.load_theme()
34- my_theme = "NoCrypt/miku"
31+
3532
3633# Define Gradio interface
3734with gr .Blocks (
38- theme = my_theme , title = "Advanced-RVC-Inference" , css = "footer{display:none !important}"
35+ theme = loadThemes . load_json () or "NoCrypt/miku" , title = "Advanced-RVC-Inference" , css = "footer{display:none !important}"
3936) as adrvc :
4037 gr .Markdown ("# Advanced-RVC-Inference" )
4138 gr .Markdown ("Advanced RVC Inference for quicker and effortless model downloads." )
You can’t perform that action at this time.
0 commit comments