Skip to content

Commit

Permalink
feat(gui): add custom theme
Browse files Browse the repository at this point in the history
  • Loading branch information
34j committed May 6, 2023
1 parent 2fadb53 commit d09e569
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/so_vits_svc_fork/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,24 @@ def after_inference(window: sg.Window, path: Path, auto_play: bool, output_path:
def main():
LOG.info(f"version: {__version__}")

sg.theme("Dark")
# sg.theme("Dark")
sg.theme_add_new(
"Very Dark",
{
"BACKGROUND": "#111111",
"TEXT": "#FFFFFF",
"INPUT": "#444444",
"TEXT_INPUT": "#FFFFFF",
"SCROLL": "#333333",
"BUTTON": ("white", "#112233"),
"PROGRESS": ("#111111", "#333333"),
"BORDER": 2,
"SLIDER_DEPTH": 2,
"PROGRESS_DEPTH": 2,
},
)
sg.theme("Very Dark")

model_candidates = list(sorted(Path("./logs/44k/").glob("G_*.pth")))

frame_contents = {
Expand Down

0 comments on commit d09e569

Please sign in to comment.