From f7e440fc1d30d3923580b1e5ce7456591c90c07c Mon Sep 17 00:00:00 2001 From: deffcolony <61471128+deffcolony@users.noreply.github.com> Date: Fri, 19 Apr 2024 16:58:07 +0200 Subject: [PATCH] replace PySimpleGUI to FreeSimpleGUI (#1978) --- MIT协议暨相关引用库协议 | 4 ++-- environment_dml.yaml | 2 +- gui_v1.py | 2 +- requirements-ipex.txt | 2 +- requirements-win-for-realtime_vc_gui-dml.txt | 2 +- requirements-win-for-realtime_vc_gui.txt | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/MIT协议暨相关引用库协议 b/MIT协议暨相关引用库协议 index dbb6c6d..d6ec5c0 100644 --- a/MIT协议暨相关引用库协议 +++ b/MIT协议暨相关引用库协议 @@ -40,6 +40,6 @@ audio-slicer https://github.com/openvpi/audio-slicer/blob/main/LICENSE MIT License -PySimpleGUI -https://github.com/PySimpleGUI/PySimpleGUI/blob/master/license.txt +FreeSimpleGUI +https://github.com/spyoungtech/FreeSimpleGUI/blob/master/license.txt LPGLv3 License diff --git a/environment_dml.yaml b/environment_dml.yaml index 0fb3f22..9da21d3 100644 --- a/environment_dml.yaml +++ b/environment_dml.yaml @@ -165,7 +165,7 @@ dependencies: - opencv-python==4.7.0.72 - pooch==1.6.0 - portalocker==2.7.0 - - pysimplegui==4.60.5 + - FreeSimpleGUI - pywin32==306 - pyworld==0.3.3 - regex==2023.5.5 diff --git a/gui_v1.py b/gui_v1.py index f30d8a3..6247af8 100644 --- a/gui_v1.py +++ b/gui_v1.py @@ -84,7 +84,7 @@ if __name__ == "__main__": import librosa from tools.torchgate import TorchGate import numpy as np - import PySimpleGUI as sg + import FreeSimpleGUI as sg import sounddevice as sd import torch import torch.nn.functional as F diff --git a/requirements-ipex.txt b/requirements-ipex.txt index 518270f..48b0712 100644 --- a/requirements-ipex.txt +++ b/requirements-ipex.txt @@ -50,6 +50,6 @@ fastapi ffmpy==0.3.1 python-dotenv>=1.0.0 av -PySimpleGUI +FreeSimpleGUI sounddevice torchfcpe diff --git a/requirements-win-for-realtime_vc_gui-dml.txt b/requirements-win-for-realtime_vc_gui-dml.txt index 9aaf56d..6f7e11e 100644 --- a/requirements-win-for-realtime_vc_gui-dml.txt +++ b/requirements-win-for-realtime_vc_gui-dml.txt @@ -22,7 +22,7 @@ SoundFile tensorboard tqdm wave -PySimpleGUI +FreeSimpleGUI sounddevice gradio noisereduce diff --git a/requirements-win-for-realtime_vc_gui.txt b/requirements-win-for-realtime_vc_gui.txt index e187f85..55e7bd9 100644 --- a/requirements-win-for-realtime_vc_gui.txt +++ b/requirements-win-for-realtime_vc_gui.txt @@ -22,7 +22,7 @@ SoundFile tensorboard tqdm wave -PySimpleGUI +FreeSimpleGUI sounddevice gradio noisereduce