Spaces:
Runtime error
Runtime error
minor update (#11)
Browse files- minor update (b77921656f94f602822aac00415473f343d5f53e)
Co-authored-by: Eddycrack 864 <Eddycrack864@users.noreply.huggingface.co>
Files changed (25)
- README.md+1-1
- app.py+34-5
- assets/config.json+2-1
- assets/favicon.icoAdded
- assets/i18n/languages/ar_AR.jsonAdded+71
- assets/i18n/languages/de_DE.jsonAdded+71
- assets/i18n/languages/en_US.json+1
- assets/i18n/languages/es_ES.json+1
- assets/i18n/languages/fr-FR.jsonAdded+71
- assets/i18n/languages/hi_IN.json+1
- assets/i18n/languages/id_ID.json+1
- assets/i18n/languages/it_IT.json+1
- assets/i18n/languages/ja_JP.json+1
- assets/i18n/languages/ko_KR.json+1
- assets/i18n/languages/ms_MY.json+1
- assets/i18n/languages/pt_BR.json+1
- assets/i18n/languages/ru_RU.json+1
- assets/i18n/languages/th_TH.json+1
- assets/i18n/languages/tr_TR.json+1
- assets/i18n/languages/uk_UA.json+1
- assets/i18n/languages/vi_VN.jsonAdded+71
- assets/i18n/languages/zh_CN.json+1
- assets/presence/discord_presence.pyAdded+152
- assets/themes/themes_list.json+82-23
- requirements.txt+3-2
5 unmodified lines67891011125 unmodified linessdk: gradioapp_file: app.pypinned: truesdk_version: 5.10.0---5 unmodified lines67891011125 unmodified linessdk: gradioapp_file: app.pypinned: truesdk_version: 5.16.2---
123456789101112131415161718159 unmodified lines17817918018118218348 unmodified lines23223323423523623732 unmodified lines27027127227327427527630 unmodified lines30730830931031131232 unmodified lines34534634734834935034 unmodified lines38538638738838939037 unmodified lines42842943043143243345 unmodified lines47948048148248348444 unmodified lines52953053153253353445 unmodified lines58058158258358458547 unmodified lines633634635636637638850 unmodified lines1489149014911492149314941495149614971498import osimport subprocessimport reimport platformimport torchimport loggingimport yt_dlpimport spacesimport gradio as grimport assets.themes.loadThemes as loadThemesfrom audio_separator.separator import Separatorfrom assets.i18n.i18n import I18nAutoi18n = I18nAuto()device = "cuda" if torch.cuda.is_available() else "cpu"use_autocast = device == "cuda"159 unmodified linesmodels_dir = "./models"extensions = (".wav", ".flac", ".mp3", ".ogg", ".opus", ".m4a", ".aiff", ".ac3")def download_audio(url, output_dir="ytdl"):os.makedirs(output_dir, exist_ok=True)48 unmodified linesexcept Exception as e:return f"Error: {e}"@spaces.GPU(duration=60)def roformer_separator(audio, model_key, out_format, segment_size, override_seg_size, overlap, batch_size, norm_thresh, amp_thresh, single_stem, progress=gr.Progress(track_tqdm=True)):base_name = os.path.splitext(os.path.basename(audio))[0]32 unmodified linesexcept Exception as e:raise RuntimeError(f"Roformer separation failed: {e}") from e@spaces.GPU(duration=60)def mdxc_separator(audio, model, out_format, segment_size, override_seg_size, overlap, batch_size, norm_thresh, amp_thresh, single_stem, progress=gr.Progress(track_tqdm=True)):base_name = os.path.splitext(os.path.basename(audio))[0]try:30 unmodified linesexcept Exception as e:raise RuntimeError(f"MDX23C separation failed: {e}") from e@spaces.GPU(duration=60)def mdxnet_separator(audio, model, out_format, hop_length, segment_size, denoise, overlap, batch_size, norm_thresh, amp_thresh, single_stem, progress=gr.Progress(track_tqdm=True)):base_name = os.path.splitext(os.path.basename(audio))[0]32 unmodified linesexcept Exception as e:raise RuntimeError(f"MDX-NET separation failed: {e}") from e@spaces.GPU(duration=60)def vrarch_separator(audio, model, out_format, window_size, aggression, tta, post_process, post_process_threshold, high_end_process, batch_size, norm_thresh, amp_thresh, single_stem, progress=gr.Progress(track_tqdm=True)):base_name = os.path.splitext(os.path.basename(audio))[0]34 unmodified linesexcept Exception as e:raise RuntimeError(f"VR ARCH separation failed: {e}") from e@spaces.GPU(duration=60)def demucs_separator(audio, model, out_format, shifts, segment_size, segments_enabled, overlap, batch_size, norm_thresh, amp_thresh, progress=gr.Progress(track_tqdm=True)):base_name = os.path.splitext(os.path.basename(audio))[0]37 unmodified lineselse:return gr.update(visible=False)@spaces.GPU(duration=60)def roformer_batch(path_input, path_output, model_key, out_format, segment_size, override_seg_size, overlap, batch_size, norm_thresh, amp_thresh, single_stem):found_files.clear()45 unmodified linesexcept Exception as e:raise RuntimeError(f"Roformer batch separation failed: {e}") from e@spaces.GPU(duration=60)def mdx23c_batch(path_input, path_output, model, out_format, segment_size, override_seg_size, overlap, batch_size, norm_thresh, amp_thresh, single_stem):found_files.clear()44 unmodified linesexcept Exception as e:raise RuntimeError(f"Roformer batch separation failed: {e}") from e@spaces.GPU(duration=60)def mdxnet_batch(path_input, path_output, model, out_format, hop_length, segment_size, denoise, overlap, batch_size, norm_thresh, amp_thresh, single_stem):found_files.clear()45 unmodified linesexcept Exception as e:raise RuntimeError(f"Roformer batch separation failed: {e}") from e@spaces.GPU(duration=60)def vrarch_batch(path_input, path_output, model, out_format, window_size, aggression, tta, post_process, post_process_threshold, high_end_process, batch_size, norm_thresh, amp_thresh, single_stem):found_files.clear()47 unmodified linesexcept Exception as e:raise RuntimeError(f"Roformer batch separation failed: {e}") from e@spaces.GPU(duration=60)def demucs_batch(path_input, path_output, model, out_format, shifts, segment_size, segments_enabled, overlap, batch_size, norm_thresh, amp_thresh):found_files.clear()850 unmodified lines* Separation by link source code and improvements by [Blane187](https://huggingface.co/Blane187).* Thanks to [ArisDev](https://github.com/aris-py) for porting UVR5 UI to Kaggle and improvements.* Thanks to [Bebra777228](https://github.com/Bebra777228)'s code for guiding me to improve my code.* Thanks to Nick088, MrM0dZ, Ryouko-Yamanda65777, lucinamari, perariroswe and Enes for helping translate UVR5 UI.You can donate to the original UVR5 project here:[](https://www.buymeacoffee.com/uvr5)""")1234567891011121314151617181920212223242526159 unmodified lines18618718818919019119219319419519619719819920020120248 unmodified lines25125225325425525625732 unmodified lines29029129229329429529629730 unmodified lines32832933033133233333432 unmodified lines36736836937037137237334 unmodified lines40840941041141241341437 unmodified lines45245345445545645745845 unmodified lines50450550650750850951044 unmodified lines55555655755855956056145 unmodified lines60760860961061161261347 unmodified lines661662663664665666667850 unmodified lines1518151915201521152215231524152515261527import osimport sysimport subprocessimport reimport platformimport torchimport loggingimport yt_dlpimport jsonimport gradio as grimport spacesimport assets.themes.loadThemes as loadThemesfrom audio_separator.separator import Separatorfrom assets.i18n.i18n import I18nAutofrom argparse import ArgumentParserfrom assets.presence.discord_presence import RPCManager, track_presencei18n = I18nAuto()now_dir = os.getcwd()sys.path.append(now_dir)config_file = os.path.join(now_dir, "assets", "config.json")device = "cuda" if torch.cuda.is_available() else "cpu"use_autocast = device == "cuda"159 unmodified linesmodels_dir = "./models"extensions = (".wav", ".flac", ".mp3", ".ogg", ".opus", ".m4a", ".aiff", ".ac3")def load_config_presence():with open(config_file, "r", encoding="utf8") as file:config = json.load(file)return config["discord_presence"]def initialize_presence():if load_config_presence():RPCManager.start_presence()initialize_presence()def download_audio(url, output_dir="ytdl"):os.makedirs(output_dir, exist_ok=True)48 unmodified linesexcept Exception as e:return f"Error: {e}"@track_presence("Performing BS/Mel Roformer Separation")@spaces.GPU(duration=60)def roformer_separator(audio, model_key, out_format, segment_size, override_seg_size, overlap, batch_size, norm_thresh, amp_thresh, single_stem, progress=gr.Progress(track_tqdm=True)):base_name = os.path.splitext(os.path.basename(audio))[0]32 unmodified linesexcept Exception as e:raise RuntimeError(f"Roformer separation failed: {e}") from e@track_presence("Performing MDXC Separationn")@spaces.GPU(duration=60)def mdxc_separator(audio, model, out_format, segment_size, override_seg_size, overlap, batch_size, norm_thresh, amp_thresh, single_stem, progress=gr.Progress(track_tqdm=True)):base_name = os.path.splitext(os.path.basename(audio))[0]try:30 unmodified linesexcept Exception as e:raise RuntimeError(f"MDX23C separation failed: {e}") from e@track_presence("Performing MDX-NET Separation")@spaces.GPU(duration=60)def mdxnet_separator(audio, model, out_format, hop_length, segment_size, denoise, overlap, batch_size, norm_thresh, amp_thresh, single_stem, progress=gr.Progress(track_tqdm=True)):base_name = os.path.splitext(os.path.basename(audio))[0]32 unmodified linesexcept Exception as e:raise RuntimeError(f"MDX-NET separation failed: {e}") from e@track_presence("Performing VR Arch Separation")@spaces.GPU(duration=60)def vrarch_separator(audio, model, out_format, window_size, aggression, tta, post_process, post_process_threshold, high_end_process, batch_size, norm_thresh, amp_thresh, single_stem, progress=gr.Progress(track_tqdm=True)):base_name = os.path.splitext(os.path.basename(audio))[0]34 unmodified linesexcept Exception as e:raise RuntimeError(f"VR ARCH separation failed: {e}") from e@track_presence("Performing Demucs Separation")@spaces.GPU(duration=60)def demucs_separator(audio, model, out_format, shifts, segment_size, segments_enabled, overlap, batch_size, norm_thresh, amp_thresh, progress=gr.Progress(track_tqdm=True)):base_name = os.path.splitext(os.path.basename(audio))[0]37 unmodified lineselse:return gr.update(visible=False)@track_presence("Performing BS/Mel Roformer Batch Separation")@spaces.GPU(duration=60)def roformer_batch(path_input, path_output, model_key, out_format, segment_size, override_seg_size, overlap, batch_size, norm_thresh, amp_thresh, single_stem):found_files.clear()45 unmodified linesexcept Exception as e:raise RuntimeError(f"Roformer batch separation failed: {e}") from e@track_presence("Performing MDXC Batch Separation")@spaces.GPU(duration=60)def mdx23c_batch(path_input, path_output, model, out_format, segment_size, override_seg_size, overlap, batch_size, norm_thresh, amp_thresh, single_stem):found_files.clear()44 unmodified linesexcept Exception as e:raise RuntimeError(f"Roformer batch separation failed: {e}") from e@track_presence("Performing MDX-NET Batch Separation")@spaces.GPU(duration=60)def mdxnet_batch(path_input, path_output, model, out_format, hop_length, segment_size, denoise, overlap, batch_size, norm_thresh, amp_thresh, single_stem):found_files.clear()45 unmodified linesexcept Exception as e:raise RuntimeError(f"Roformer batch separation failed: {e}") from e@track_presence("Performing VR Arch Batch Separation")@spaces.GPU(duration=60)def vrarch_batch(path_input, path_output, model, out_format, window_size, aggression, tta, post_process, post_process_threshold, high_end_process, batch_size, norm_thresh, amp_thresh, single_stem):found_files.clear()47 unmodified linesexcept Exception as e:raise RuntimeError(f"Roformer batch separation failed: {e}") from e@track_presence("Performing Demucs Batch Separation")@spaces.GPU(duration=60)def demucs_batch(path_input, path_output, model, out_format, shifts, segment_size, segments_enabled, overlap, batch_size, norm_thresh, amp_thresh):found_files.clear()850 unmodified lines* Separation by link source code and improvements by [Blane187](https://huggingface.co/Blane187).* Thanks to [ArisDev](https://github.com/aris-py) for porting UVR5 UI to Kaggle and improvements.* Thanks to [Bebra777228](https://github.com/Bebra777228)'s code for guiding me to improve my code.* Thanks to Nick088, MrM0dZ, Ryouko-Yamanda65777, lucinamari, perariroswe, Enes, Léo and the_undead0 for helping translate UVR5 UI.* Thanks to vadigr123 for creating the images for the Discord Rich Presence.You can donate to the original UVR5 project [here](https://www.buymeacoffee.com/uvr5)""")
5 unmodified lines6789105 unmodified lines"lang": {"override": false,"selected_lang": "en_US"}}5 unmodified lines678910115 unmodified lines"lang": {"override": false,"selected_lang": "en_US"},"discord_presence": true}
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{
"If you like UVR5 UI you can star my repo on [GitHub](https://github.com/Eddycrack864/UVR5-UI)": "نجمةاذا اعجبكUVR5 UI[هنا](https://github.com/Eddycrack864/UVR5-UI)يمكنك اعطاء",
"Try UVR5 UI on Hugging Face with A100 [here](https://huggingface.co/spaces/TheStinger/UVR5_UI)": "[هنا](https://huggingface.co/spaces/TheStinger/UVR5_UI) A100 مع Hugging Face على UVR5 UI يمكنك تجيرب واجهة ",
"Select the model": "اختار النموذج",
"Select the output format":"حدد تنصيق الاخراج ",
"Overlap": "التداخل",
"Amount of overlap between prediction windows": "مقدار التداخل بين نوافذ التنبؤ ",
"Segment size": "حجم القطاع",
"Larger consumes more resources, but may give better results": "الأكبر يستهلك المزيد من الموارد، ولكنه قد يعطي نتائج أفضل ",
"Input audio": "إدخال الصوت ",
"Separation by link": "الفصل عن طريق الراباط ",
"Link": "الرابط",
"Paste the link here": "الصق الرابط هنا",
"You can paste the link to the video/audio from many sites, check the complete list [here](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)": "يمكنك لصق رابط الفيديو/الصوت من العديد من المواقع، وتحقق من القائمة الكاملة ⠀[هنا](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)",
"Download!": "تحميل!",
"Batch separation": "فصل الدفعة ",
"Input path": "مسار الإدخال ",
"Place the input path here": "ضع مسار الإدخال هنا ",
"Output path": "مسار الاخراج ",
"Place the output path here": "مسار الاخراج هنا ضع",
"Separate!": "افصل!",
"Output information": "معلومات الإخراج ",
"Stem 1": " حقن1",
"Stem 2": " حقن2",
"Denoise": "تقليل الضوضاء ",
"Enable denoising during separation": "تمكين تقليل الضوضاء أثناء الفصل",
"Window size": "حجم النافذة",
"Agression": "قوة تاثيرالحقن ",
"Intensity of primary stem extraction": "شدة استخراج الحقن الأولي ",
"TTA": "TTA",
"Enable Test-Time-Augmentation; slow but improves quality": " تمكين زيادة وقت الاختبار؛ بطيء ولكنه يحسن الجودة ",
"High end process": "عملية عالية الجودة ",
"Mirror the missing frequency range of the output": "عكس نطاق التردد المفقود للإخراج ",
"Shifts": "المناوبات ",
"Number of predictions with random shifts, higher = slower but better quality": "عدد التنبؤات ذات التحولات العشوائية، أعلى = أبطأ ولكن بجودة أفضل ",
"Overlap between prediction windows. Higher = slower but better quality": "التداخل بين نوافذ التنبؤ. أعلى = أبطأ ولكن بجودة أفضل",
"Stem 3": "حقن3",
"Stem 4": "حقن4",
"Themes": "السمات ",
"Theme": "السمات ",
"Select the theme you want to use. (Requires restarting the App)": "حدد السمة التي تريد استخدامها. (يتطلب إعادة تشغيل البرنامج)",
"Credits": "شكر خاص ل",
"Language": "اللغة",
"Advanced settings": "الاعدادات المتقدمة",
"Override model default segment size instead of using the model default value": "تجاوز الحجم الافتراضي للمقطع الافتراضي للنموذج بدلاً من استخدام القيمة الافتراضية للنموذج ",
"Override segment size": "جاوز حجم المقطع ",
"Batch size": "حجم الدُفعات ",
"Larger consumes more RAM but may process slightly faster": " أكثر استهلاك لالذاكرة العشوائي ولكنها قد تعالج أسرع قليلاً ",
"Normalization threshold": "عتبة التسوية ",
"The threshold for audio normalization": "عتبة التسوية لالصوت ",
"Amplification threshold": "عتبة التضخيم ",
"The threshold for audio amplification": "عتبة تضخيم الصوت ",
"Hop length": "طول قفزة ",
"Usually called stride in neural networks; only change if you know what you're doing": "تسمى عادةً الخطوة في الشبكات العصبية؛ لا تيغيرها إلا إذا كنت تعرف ما تفعله ",
"Balance quality and speed. 1024 = fast but lower, 320 = slower but better quality":"موازنة بين الجودة والسرعة. 1024 = سريع ولكن أقل، 320 = أبطأ ولكن بجودة أفضل ",
"Identify leftover artifacts within vocal output; may improve separation for some songs": "تحديد الآثار المتبقية داخل الإخراج ال��وتي؛ قد يحسن الفصل لبعض الأغاني ",
"Post process": "معالجة بعدية",
"Post process threshold": "عتبة المعالجة البعدية ",
"Threshold for post-processing": "عتبة مرحلة ما بعد المعالجة ",
"Size of segments into which the audio is split. Higher = slower but better quality": "حجم المقاطع التي يتم تقسيم الصوت إليها. أعلى = أبطأ ولكن بجودة أفضل ",
"Enable segment-wise processing": "تمكين المعالجة حسب القطاع ",
"Segment-wise processing": "المعالجة حسب القطاع ",
"Stem 5": " حقن5",
"Stem 6": " حقن4",
"Output only single stem": "إخراج حقن واحد فقط ",
"Write the stem you want, check the stems of each model on Leaderboard. e.g. Instrumental": "اكتب الحقن الذي تريده، وتحقق من حقن كل نموذج على لوحة المتصدرين على سبيل المثال ",
"Leaderboard": "لوحة المتصدرين ",
"List filter": "مرشح القائمة ",
"Filter and sort the model list by stem": "تصفية قائمة النماذج وفرزها حسب الحقن ",
"Show list!": "اضهار القائمة!"
}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{
"If you like UVR5 UI you can star my repo on [GitHub](https://github.com/Eddycrack864/UVR5-UI)": "Wenn Ihnen die UVR5-Benutzeroberfläche gefällt, können Sie meinem Repo auf [GitHub](https://github.com/Eddycrack864/UVR5-UI) einen Stern geben",
"Try UVR5 UI on Hugging Face with A100 [here](https://huggingface.co/spaces/TheStinger/UVR5_UI)": "Probieren Sie die UVR5-Benutzeroberfläche auf Hugging Face mit einer A100 [hier](https://huggingface.co/spaces/TheStinger/UVR5_UI) aus",
"Select the model": "Modell auswählen",
"Select the output format": "Ausgabeformat auswählen",
"Overlap": "Überlappung",
"Amount of overlap between prediction windows": "Überlappungsgrad zwischen Vorhersagefenstern",
"Segment size": "Segmentgröße",
"Larger consumes more resources, but may give better results": "Größere verbrauchen mehr Ressourcen, können aber bessere Ergebnisse liefern",
"Input audio": "Eingabeaudio",
"Separation by link": "Trennung nach Link",
"Link": "Link",
"Paste the link here": "Link hier einfügen",
"You can paste the link to the video/audio from many sites, check the complete list [here](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)": "Sie können den Link zum Video/Audio von vielen Seiten einfügen, überprüfen Sie die vollständige Liste [hier](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)",
"Download!": "Herunterladen!",
"Batch separation": "Stapelverarbeitung",
"Input path": "Eingabepfad",
"Place the input path here": "Eingabepfad hier einfügen",
"Output path": "Ausgabepfad",
"Place the output path here": "Ausgabepfad hier einfügen",
"Separate!": "Trennen!",
"Output information": "Ausgabeinformationen",
"Stem 1": "Spur 1",
"Stem 2": "Spur 2",
"Denoise": "Entrauschen",
"Enable denoising during separation": "Entrauschen während der Trennung aktivieren",
"Window size": "Fenstergröße",
"Agression": "Aggression",
"Intensity of primary stem extraction": "Intensität der Extraktion der primären Spur",
"TTA": "TTA",
"Enable Test-Time-Augmentation; slow but improves quality": "Testzeit-Augmentierung aktivieren; langsam, verbessert aber die Qualität",
"High end process": "High-End-Prozess",
"Mirror the missing frequency range of the output": "Den fehlenden Frequenzbereich des Ausgangs spiegeln",
"Shifts": "Temporale Verschiebungen",
"Number of predictions with random shifts, higher = slower but better quality": "Anzahl der Vorhersagen mit zufälligen Verschiebungen, höher = langsamer, aber bessere Qualität",
"Overlap between prediction windows. Higher = slower but better quality": "Überlappung zwischen Vorhersagefenstern. Höher = langsamer, aber bessere Qualität",
"Stem 3": "Spur 3",
"Stem 4": "Spur 4",
"Themes": "Themen",
"Theme": "Thema",
"Select the theme you want to use. (Requires restarting the App)": "Wählen Sie das Thema aus, das Sie verwenden möchten. (Neustart der App erforderlich)",
"Credits": "Credits",
"Language": "Sprache",
"Advanced settings": "Erweiterte Einstellungen",
"Override model default segment size instead of using the model default value": "Standardsegmentgröße des Modells überschreiben, anstatt den Standardwert des Modells zu verwenden",
"Override segment size": "Segmentgröße überschreiben",
"Batch size": "Batch-Größe",
"Larger consumes more RAM but may process slightly faster": "Größerer Verbrauch mehr RAM, kann aber etwas schneller verarbeiten",
"Normalization threshold": "Normalisierungsschwelle",
"The threshold for audio normalization": "Die Schwelle für die Audio-Normalisierung",
"Amplification threshold": "Verstärkungsschwelle",
"The threshold for audio amplification": "Die Schwelle für die Audioverstärkung",
"Hop length": "Sprunglänge",
"Usually called stride in neural networks; only change if you know what you're doing" : "In neuronalen Netzen обычно шаг genannt; Ändern Sie dies nur, wenn Sie wissen, was Sie tun",
"Balance quality and speed. 1024 = fast but lower, 320 = slower but better quality": "Gleichgewicht zwischen Qualität und Geschwindigkeit. 1024 = schnell, aber geringere Qualität, 320 = langsamer, aber bessere Qualität",
"Identify leftover artifacts within vocal output; may improve separation for some songs": "Identifizieren Sie verbleibende Artefakte in der Gesangsausgabe; kann die Trennung für einige Lieder verbessern",
"Post process": "Nachbearbeitung",
"Post process threshold": "Nachbearbeitungsschwelle",
"Threshold for post-processing": "Schwelle für die Nachbearbeitung",
"Size of segments into which the audio is split. Higher = slower but better quality": "Größe der Segmente, in die das Audio aufgeteilt wird. Höher = langsamer, aber bessere Qualität",
"Enable segment-wise processing": "Segmentweise Verarbeitung aktivieren",
"Segment-wise processing": "Segmentweise Verarbeitung",
"Stem 5": "Spur 5",
"Stem 6": "Spur 6",
"Output only single stem": "Nur einzelne Spur ausgeben",
"Write the stem you want, check the stems of each model on Leaderboard. e.g. Instrumental": "Schreiben Sie die gewünschte Spur, überprüfen Sie die Spuren jedes Modells auf der Bestenliste. z. B. Instrumental",
"Leaderboard": "Bestenliste",
"List filter": "Listenfilter",
"Filter and sort the model list by stem": "Filtern und sortieren Sie die Modellliste nach Spur",
"Show list!": "Liste anzeigen!"
}32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "Mirror the missing frequency range of the output","Shifts": "Shifts","Number of predictions with random shifts, higher = slower but better quality": "Number of predictions with random shifts, higher = slower but better quality","Stem 3": "Stem 3","Stem 4": "Stem 4","Themes": "Themes",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "Mirror the missing frequency range of the output","Shifts": "Shifts","Number of predictions with random shifts, higher = slower but better quality": "Number of predictions with random shifts, higher = slower but better quality","Overlap between prediction windows. Higher = slower but better quality": "Overlap between prediction windows. Higher = slower but better quality","Stem 3": "Stem 3","Stem 4": "Stem 4","Themes": "Themes",
32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "Reflejar el rango de frecuencia faltante de la salida","Shifts": "Desplazamientos temporales","Number of predictions with random shifts, higher = slower but better quality": "Número de predicciones con desplazamientos temporales, mayor = más lento pero mejor calidad","Stem 3": "Pista 3","Stem 4": "Pista 4","Themes": "Temas",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "Reflejar el rango de frecuencia faltante de la salida","Shifts": "Desplazamientos temporales","Number of predictions with random shifts, higher = slower but better quality": "Número de predicciones con desplazamientos temporales, mayor = más lento pero mejor calidad","Overlap between prediction windows. Higher = slower but better quality": "Superposición entre ventanas de predicción. Cuanto más alta, más lenta pero de mejor calidad","Stem 3": "Pista 3","Stem 4": "Pista 4","Themes": "Temas",
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{
"If you like UVR5 UI you can star my repo on [GitHub](https://github.com/Eddycrack864/UVR5-UI)": "Si vous aimez UVR5 UI, vous pouvez donner une étoile à mon repo sur [GitHub](https://github.com/Eddycrack864/UVR5-UI)",
"Try UVR5 UI on Hugging Face with A100 [here](https://huggingface.co/spaces/TheStinger/UVR5_UI)": "Essayez UVR5 UI sur Hugging Face avec une A100 [ici](https://huggingface.co/spaces/TheStinger/UVR5_UI)",
"Select the model": "Sélectionnez le modèle",
"Select the output format": "Sélectionnez le format de sortie",
"Overlap": "Superposition",
"Amount of overlap between prediction windows": "Quantité de superposition entre les fenêtres de prédiction",
"Segment size": "Taille du segment",
"Larger consumes more resources, but may give better results": "Plus grand consomme plus de ressources, mais peut donner de meilleurs résultats",
"Input audio": "Entrée",
"Separation by link": "Séparer avec un lien",
"Link": "Lien",
"Paste the link here": "Collez le lien ici",
"You can paste the link to the video/audio from many sites, check the complete list [here](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)": "Vous pouvez coller le lien vers la vidéo/audio de nombreux sites, consultez la liste complète [ici](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)",
"Download!": "Télécharger !",
"Batch separation": "Traitement par lots",
"Input path": "Chemin d'entrée",
"Place the input path here": "Indiquez le chemin d'entrée ici",
"Output path": "Chemin de sortie",
"Place the output path here": "Indiquez le chemin de sortie ici",
"Separate!": "Séparer !",
"Output information": "Informations de sortie",
"Stem 1": "Piste 1",
"Stem 2": "Piste 2",
"Denoise": "Suppression du bruit",
"Enable denoising during separation": "Activer la suppression du bruit pendant l'execution",
"Window size": "Taille de la fenêtre",
"Agression": "Agressivité",
"Intensity of primary stem extraction": "Intensité d'extraction de la piste principale",
"TTA": "TTA",
"Enable Test-Time-Augmentation; slow but improves quality": "Activer l'augmentation du temps de test; lent mais améliore la qualité",
"High end process": "Processus haut de gamme",
"Mirror the missing frequency range of the output": "Refléter la plage de fréquences manquante de la sortie",
"Shifts": "Décalages temporels",
"Number of predictions with random shifts, higher = slower but better quality": "Nombre de prédictions avec décalages aléatoires, plus élevé = plus lent mais meilleure qualité",
"Overlap between prediction windows. Higher = slower but better quality": "Superposition entre les fenêtres de prédiction. Plus élevée = plus lent mais meilleure qualité",
"Stem 3": "Piste 3",
"Stem 4": "Piste 4",
"Themes": "Thèmes",
"Theme": "Thème",
"Select the theme you want to use. (Requires restarting the App)": "Sélectionnez le thème que vous souhaitez utiliser. (Nécessite de redémarrer l'application)",
"Credits": "Crédits",
"Language": "Langue",
"Advanced settings": "Paramètres avancés",
"Override model default segment size instead of using the model default value": "Remplacer la taille de segment par défaut du modèle au lieu d'utiliser la valeur par défaut",
"Override segment size": "Remplacer la taille du segment",
"Batch size": "Taille du lot",
"Larger consumes more RAM but may process slightly faster": "Plus grand consomme plus de RAM mais peut traiter légèrement plus vite",
"Normalization threshold": "Seuil de normalisation",
"The threshold for audio normalization": "Le seuil pour la normalisation audio",
"Amplification threshold": "Seuil d'amplification",
"The threshold for audio amplification": "Le seuil pour l'amplification audio",
"Hop length": "Longueur du saut",
"Usually called stride in neural networks; only change if you know what you're doing": "Généralement appelé pas dans les réseaux neuronaux ; ne changez que si vous savez ce que vous faites",
"Balance quality and speed. 1024 = fast but lower, 320 = slower but better quality": "Équilibre qualité et vitesse. 1024 = rapide mais inférieur, 320 = lent mais meilleure qualité",
"Identify leftover artifacts within vocal output; may improve separation for some songs": "Identifier les artefacts résiduels dans la sortie vocale ; peut améliorer la séparation pour certaines chansons",
"Post process": "Post-traitement",
"Post process threshold": "Seuil de post-traitement",
"Threshold for post-processing": "Seuil pour le post-traitement",
"Size of segments into which the audio is split. Higher = slower but better quality": "Taille des segments en lesquels l'audio est divisé. Plus grand = plus lent mais meilleure qualité",
"Enable segment-wise processing": "Activer le traitement par segments",
"Segment-wise processing": "Traitement par segments",
"Stem 5": "Piste 5",
"Stem 6": "Piste 6",
"Output only single stem": "Sortir une seule piste",
"Write the stem you want, check the stems of each model on Leaderboard. e.g. Instrumental": "Écrivez la piste souhaitée, vérifiez les pistes de chaque modèle sur le tableau de classement. Par exemple, Instrumental",
"Leaderboard": "Tableau de classement",
"List filter": "Filtre de liste",
"Filter and sort the model list by stem": "Filtrer et trier la liste des modèles par piste",
"Show list!": "Afficher la liste !"
}32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "आउटपुट की गायब फ्रीक्वेंसी रेंज को मिरर करें","Shifts": "शिफ्ट्स","Number of predictions with random shifts, higher = slower but better quality": "रैंडम शिफ्ट्स के साथ पूर्वानुमानों की संख्या, अधिक = धीमा लेकिन बेहतर गुणवत्ता","Stem 3": "स्टेम 3","Stem 4": "स्टेम 4","Themes": "थीम्स",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "आउटपुट की गायब फ्रीक्वेंसी रेंज को मिरर करें","Shifts": "शिफ्ट्स","Number of predictions with random shifts, higher = slower but better quality": "रैंडम शिफ्ट्स के साथ पूर्वानुमानों की संख्या, अधिक = धीमा लेकिन बेहतर गुणवत्ता","Overlap between prediction windows. Higher = slower but better quality": "पूर्वानुमान विंडो के बीच ओवरलैप. अधिक = धीमा लेकिन बेहतर गुणवत्ता","Stem 3": "स्टेम 3","Stem 4": "स्टेम 4","Themes": "थीम्स",
32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "Cerminkan rentang frekuensi yang hilang dari output","Shifts": "Pergeseran","Number of predictions with random shifts, higher = slower but better quality": "Jumlah prediksi dengan pergeseran acak, lebih tinggi = lebih lambat tetapi kualitas lebih baik","Stem 3": "Stem 3","Stem 4": "Stem 4","Themes": "Tema",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "Cerminkan rentang frekuensi yang hilang dari output","Shifts": "Pergeseran","Number of predictions with random shifts, higher = slower but better quality": "Jumlah prediksi dengan pergeseran acak, lebih tinggi = lebih lambat tetapi kualitas lebih baik","Overlap between prediction windows. Higher = slower but better quality": "Tumpang tindih antara jendela prediksi. Lebih tinggi = lebih lambat tetapi kualitas lebih baik","Stem 3": "Stem 3","Stem 4": "Stem 4","Themes": "Tema",
32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "Rifletti l'intervallo di frequenze mancante dell'output","Shifts": "Spostamenti","Number of predictions with random shifts, higher = slower but better quality": "Numero di predizioni con spostamenti casuali, maggiore = più lento ma qualità migliore","Stem 3": "Traccia 3","Stem 4": "Traccia 4","Themes": "Temi",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "Rifletti l'intervallo di frequenze mancante dell'output","Shifts": "Spostamenti","Number of predictions with random shifts, higher = slower but better quality": "Numero di predizioni con spostamenti casuali, maggiore = più lento ma qualità migliore","Overlap between prediction windows. Higher = slower but better quality": "Sovrapposizione tra le finestre di predizione. Maggiore = più lento ma qualità migliore","Stem 3": "Traccia 3","Stem 4": "Traccia 4","Themes": "Temi",
32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "出力の欠落した周波数範囲をミラーリングする","Shifts": "シフト","Number of predictions with random shifts, higher = slower but better quality": "ランダムシフトによる予測の数、高いほど遅いが品質が向上する","Stem 3": "ステム 3","Stem 4": "ステム 4","Themes": "テーマ",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "出力の欠落した周波数範囲をミラーリングする","Shifts": "シフト","Number of predictions with random shifts, higher = slower but better quality": "ランダムシフトによる予測の数、高いほど遅いが品質が向上する","Overlap between prediction windows. Higher = slower but better quality": "予測ウィンドウ間の重複. 高いほど遅いが品質が向上する","Stem 3": "ステム 3","Stem 4": "ステム 4","Themes": "テーマ",
32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "출력의 누락된 주파수 범위를 보정합니다","Shifts": "시프트","Number of predictions with random shifts, higher = slower but better quality": "랜덤 시프트 사용 예측 횟수; 높을수록 느리지만 품질 향상","Stem 3": "스템 3","Stem 4": "스템 4","Themes": "테마 목록",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "출력의 누락된 주파수 범위를 보정합니다","Shifts": "시프트","Number of predictions with random shifts, higher = slower but better quality": "랜덤 시프트 사용 예측 횟수; 높을수록 느리지만 품질 향상","Overlap between prediction windows. Higher = slower but better quality": "예측 기간 간의 오버랩. 높을수록 느리지만 품질 향상","Stem 3": "스템 3","Stem 4": "스템 4","Themes": "테마 목록",
32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "Cerminkan julat frekuensi yang hilang pada output","Shifts": "Peralihan","Number of predictions with random shifts, higher = slower but better quality": "Bilangan ramalan dengan peralihan rawak, lebih tinggi = lebih perlahan tetapi kualiti lebih baik","Stem 3": "Lapis 3","Stem 4": "Lapis 4","Themes": "Tema",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "Cerminkan julat frekuensi yang hilang pada output","Shifts": "Peralihan","Number of predictions with random shifts, higher = slower but better quality": "Bilangan ramalan dengan peralihan rawak, lebih tinggi = lebih perlahan tetapi kualiti lebih baik","Overlap between prediction windows. Higher = slower but better quality": "Pertindihan antara tetingkap ramalan. Lebih tinggi = lebih perlahan tetapi kualiti lebih baik","Stem 3": "Lapis 3","Stem 4": "Lapis 4","Themes": "Tema",
32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "Espelhar a frequência faltante de saida","Shifts": "Turnos","Number of predictions with random shifts, higher = slower but better quality": "Numero de previsões com turnos aleatorios, maior = mais lento porem mais qualidade","Stem 3": "Stem 3","Stem 4": "Stem 4","Themes": "Temas",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "Espelhar a frequência faltante de saida","Shifts": "Turnos","Number of predictions with random shifts, higher = slower but better quality": "Numero de previsões com turnos aleatorios, maior = mais lento porem mais qualidade","Overlap between prediction windows. Higher = slower but better quality": "Sobreposição entre janelas de previsão. Maior = mais lento porem mais qualidade","Stem 3": "Stem 3","Stem 4": "Stem 4","Themes": "Temas",
32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "Зеркальное отображение недостающего диапазона частот на выходе","Shifts": "Сдвиги","Number of predictions with random shifts, higher = slower but better quality": "Количество прогнозов со случайными сдвигами, больше = медленнее, но качественнее","Stem 3": "Трек 3","Stem 4": "Трек 4","Themes": "Темы",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "Зеркальное отображение недостающего диапазона частот на выходе","Shifts": "Сдвиги","Number of predictions with random shifts, higher = slower but better quality": "Количество прогнозов со случайными сдвигами, больше = медленнее, но качественнее","Overlap between prediction windows. Higher = slower but better quality": "Пересечения между окнами прогнозов. больше = медленнее, но качественнее","Stem 3": "Трек 3","Stem 4": "Трек 4","Themes": "Темы",
32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "สะท้อนช่วงความถี่ที่หายไปของเอาต์พุต","Shifts": "การกะระยะ","Number of predictions with random shifts, higher = slower but better quality": "จำนวนการทำนายที่มีการกะระยะแบบสุ่ม, สูงมาก = ช้าแต่มีคุณภาพที่ดีกว่า","Stem 3": "สเต็มที่ 3","Stem 4": "สเต็มที่ 4","Themes": "ธีม",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "สะท้อนช่วงความถี่ที่หายไปของเอาต์พุต","Shifts": "การกะระยะ","Number of predictions with random shifts, higher = slower but better quality": "จำนวนการทำนายที่มีการกะระยะแบบสุ่ม, สูงมาก = ช้าแต่มีคุณภาพที่ดีกว่า","Overlap between prediction windows. Higher = slower but better quality": "ความทับซ้อนระหว่างช่วงเวลาของหน้าต่าง. สูงมาก = ช้าแต่มีคุณภาพที่ดีกว่า","Stem 3": "สเต็มที่ 3","Stem 4": "สเต็มที่ 4","Themes": "ธีม",
32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "Eksik frekans aralığını çıktıda yansıt","Shifts": "Kaymalar","Number of predictions with random shifts, higher = slower but better quality": "Rastgele kaymalarla tahmin sayısı, yüksek = daha yavaş ama daha iyi kalite","Stem 3": "Kanal 3","Stem 4": "Kanal 4","Themes": "Temalar",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "Eksik frekans aralığını çıktıda yansıt","Shifts": "Kaymalar","Number of predictions with random shifts, higher = slower but better quality": "Rastgele kaymalarla tahmin sayısı, yüksek = daha yavaş ama daha iyi kalite","Overlap between prediction windows. Higher = slower but better quality": "Pencereleri arasındaki örtüşme miktarı. Yüksek = daha yavaş ama daha iyi kalite","Stem 3": "Kanal 3","Stem 4": "Kanal 4","Themes": "Temalar",
32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "Дзеркальне відображення відсутнього діапазону частот на виході","Shifts": "Здвиги","Number of predictions with random shifts, higher = slower but better quality": "Кількість прогнозів із випадковими зсувами, більше = повільніше, але якісніше","Stem 3": "Трек 3","Stem 4": "Трек 4","Themes": "Теми",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "Дзеркальне відображення відсутнього діапазону частот на виході","Shifts": "Здвиги","Number of predictions with random shifts, higher = slower but better quality": "Кількість прогнозів із випадковими зсувами, більше = повільніше, але якісніше","Overlap between prediction windows. Higher = slower but better quality": "Перетину між вікнами прогнозів. більше = повільніше, але якісніше","Stem 3": "Трек 3","Stem 4": "Трек 4","Themes": "Теми",
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071{
"If you like UVR5 UI you can star my repo on [GitHub](https://github.com/Eddycrack864/UVR5-UI)": "Nếu bạn thích UVR5 UI, hãy đánh dấu sao kho lưu trữ của tôi trên [GitHub](https://github.com/Eddycrack864/UVR5-UI)",
"Try UVR5 UI on Hugging Face with A100 [here](https://huggingface.co/spaces/TheStinger/UVR5_UI)": "Dùng thử UVR5 UI trên Hugging Face với A100 [tại đây](https://huggingface.co/spaces/TheStinger/UVR5_UI)",
"Select the model": "Chọn mô hình",
"Select the output format": "Chọn định dạng đầu ra",
"Overlap": "Độ chồng lấp",
"Amount of overlap between prediction windows": "Mức độ chồng lấp giữa các cửa sổ dự đoán",
"Segment size": "Kích thước phân đoạn",
"Larger consumes more resources, but may give better results": "Lớn hơn sẽ tốn nhiều tài nguyên hơn nhưng có thể cho kết quả tốt hơn",
"Input audio": "Âm thanh đầu vào",
"Separation by link": "Tách bằng liên kết",
"Link": "Liên kết",
"Paste the link here": "Dán liên kết vào đây",
"You can paste the link to the video/audio from many sites, check the complete list [here](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)": "Bạn có thể dán liên kết video/audio từ nhiều trang, xem danh sách đầy đủ [tại đây](https://github.com/yt-dlp/yt-dlp/blob/master/supportedsites.md)",
"Download!": "Tải xuống!",
"Batch separation": "Xử lý hàng loạt",
"Input path": "Đường dẫn đầu vào",
"Place the input path here": "Nhập đường dẫn đầu vào tại đây",
"Output path": "Đường dẫn đầu ra",
"Place the output path here": "Nhập đường dẫn đầu ra tại đây",
"Separate!": "Tách!",
"Output information": "Thông tin đầu ra",
"Stem 1": "Luồng 1",
"Stem 2": "Luồng 2",
"Denoise": "Khử nhiễu",
"Enable denoising during separation": "Bật khử nhiễu trong quá trình tách",
"Window size": "Kích thước cửa sổ",
"Agression": "Mức độ mạnh",
"Intensity of primary stem extraction": "Cường độ trích xuất luồng chính",
"TTA": "TTA",
"Enable Test-Time-Augmentation; slow but improves quality": "Bật Tăng cường Thời gian Kiểm tra; chậm nhưng cải thiện chất lượng",
"High end process": "Quy trình cao cấp",
"Mirror the missing frequency range of the output": "Phản chiếu dải tần số thiếu của đầu ra",
"Shifts": "Dịch chuyển thời gian",
"Number of predictions with random shifts, higher = slower but better quality": "Số lần dự đoán với dịch chuyển ngẫu nhiên, cao hơn = chậm hơn nhưng chất lượng tốt hơn",
"Overlap between prediction windows. Higher = slower but better quality": "Độ chồng lấp giữa các cửa sổ dự đoán. Cao hơn = chậm hơn nhưng chất lượng tốt hơn",
"Stem 3": "Luồng 3",
"Stem 4": "Luồng 4",
"Themes": "Chủ đề",
"Theme": "Chủ đề",
"Select the theme you want to use. (Requires restarting the App)": "Chọn chủ đề bạn muốn sử dụng. (Yêu cầu khởi động lại ứng dụng)",
"Credits": "Ghi nhận",
"Language": "Ngôn ngữ",
"Advanced settings": "Cài đặt nâng cao",
"Override model default segment size instead of using the model default value": "Ghi đè kích thước phân đoạn mặc định của mô hình",
"Override segment size": "Ghi đè kích thước phân đoạn",
"Batch size": "Kích thước lô",
"Larger consumes more RAM but may process slightly faster": "Lớn hơn tốn nhiều RAM hơn nhưng có thể xử lý nhanh hơn chút",
"Normalization threshold": "Ngưỡng chuẩn hóa",
"The threshold for audio normalization": "Ngưỡng cho chuẩn hóa âm thanh",
"Amplification threshold": "Ngưỡng khuếch đại",
"The threshold for audio amplification": "Ngưỡng cho khuếch đại âm thanh",
"Hop length": "Độ dài bước nhảy",
"Usually called stride in neural networks; only change if you know what you're doing": "Thường gọi là bước trong mạng nơ-ron; chỉ thay đổi nếu bạn hiểu rõ",
"Balance quality and speed. 1024 = fast but lower, 320 = slower but better quality": "Cân bằng chất lượng và tốc độ. 1024 = nhanh nhưng kém, 320 = chậm nhưng tốt hơn",
"Identify leftover artifacts within vocal output; may improve separation for some songs": "Nhận diện nhiễu còn sót trong âm thanh giọng hát; có thể cải thiện tách nhạc cho một số bài",
"Post process": "Hậu xử lý",
"Post process threshold": "Ngưỡng hậu xử lý",
"Threshold for post-processing": "Ngưỡng cho hậu xử lý",
"Size of segments into which the audio is split. Higher = slower but better quality": "Kích thước phân đoạn âm thanh. Lớn hơn = chậm hơn nhưng chất lượng tốt hơn",
"Enable segment-wise processing": "Bật xử lý theo phân đoạn",
"Segment-wise processing": "Xử lý theo phân đoạn",
"Stem 5": "Luồng 5",
"Stem 6": "Luồng 6",
"Output only single stem": "Chỉ xuất một luồng duy nhất",
"Write the stem you want, check the stems of each model on Leaderboard. e.g. Instrumental": "Viết tên luồng bạn muốn, kiểm tra các luồng của từng mô hình trên Bảng xếp hạng. Ví dụ: Nhạc đệm",
"Leaderboard": "Bảng xếp hạng",
"List filter": "Bộ lọc danh sách",
"Filter and sort the model list by stem": "Lọc và sắp xếp danh sách mô hình theo luồng",
"Show list!": "Hiện danh sách!"
}32 unmodified lines33343536373832 unmodified lines"Mirror the missing frequency range of the output": "镜像输出中缺失的频率范围","Shifts": "偏移","Number of predictions with random shifts, higher = slower but better quality": "随机偏移预测次数,越高越慢但质量越好","Stem 3": "干声 3","Stem 4": "干声 4","Themes": "主题",32 unmodified lines3334353637383932 unmodified lines"Mirror the missing frequency range of the output": "镜像输出中缺失的频率范围","Shifts": "偏移","Number of predictions with random shifts, higher = slower but better quality": "随机偏移预测次数,越高越慢但质量越好","Overlap between prediction windows. Higher = slower but better quality": "预测窗口之间的重叠. 越高越慢但质量越好","Stem 3": "干声 3","Stem 4": "干声 4","Themes": "主题",
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152from pypresence import Presence
from pypresence.exceptions import DiscordNotFound, InvalidPipe
import datetime as dt
import threading
import functools
class RichPresenceManager:
def __init__(self):
self.client_id = "1339001292319621181"
self.rpc = None
self.running = False
self.current_state = "Idling"
self.lock = threading.Lock()
self.discord_available = True
self.presence_configs = {
# Roformer
"Performing BS/Mel Roformer Separation": {
"small_image": "roformer",
"small_text": "BS/Mel Roformer"
},
"Performing BS/Mel Roformer Batch Separation": {
"small_image": "roformer",
"small_text": "BS/Mel Roformer"
},
# MDXC
"Performing MDXC Separationn": {
"small_image": "mdxc",
"small_text": "MDXC"
},
"Performing MDXC Batch Separation": {
"small_image": "mdxc",
"small_text": "MDXC"
},
# MDX-NET
"Performing MDX-NET Separation": {
"small_image": "mdxnet",
"small_text": "MDX-NET"
},
"Performing MDX-NET Batch Separation": {
"small_image": "mdxnet",
"small_text": "MDX-NET"
},
# VR Arch
"Performing VR Arch Separation": {
"small_image": "vrarch",
"small_text": "VR Arch"
},
"Performing VR Arch Batch Separation": {
"small_image": "vrarch",
"small_text": "VR Arch"
},
# Demucs
"Performing Demucs Separation": {
"small_image": "demucs",
"small_text": "Demucs"
},
"Performing Demucs Batch Separation": {
"small_image": "demucs",
"small_text": "Demucs"
},
# Idling
"Idling": {
"small_image": "idling",
"small_text": "Idling"
}
}
def get_presence_config(self, state):
return self.presence_configs.get(state, self.presence_configs["Idling"])
def start_presence(self):
try:
if not self.running:
self.rpc = Presence(self.client_id)
try:
self.rpc.connect()
self.running = True
self.discord_available = True
self.update_presence()
print("Discord Rich Presence connected successfully")
except (DiscordNotFound, InvalidPipe):
print("Discord is not running. Rich Presence will be disabled.")
self.discord_available = False
self.running = False
self.rpc = None
except Exception as error:
print(f"An error occurred connecting to Discord: {error}")
self.discord_available = False
self.running = False
self.rpc = None
except Exception as e:
print(f"Unexpected error in start_presence: {e}")
self.discord_available = False
self.running = False
self.rpc = None
def update_presence(self):
if self.rpc and self.running and self.discord_available:
try:
config = self.get_presence_config(self.current_state)
self.rpc.update(
state=self.current_state,
details="Ultimate Vocal Remover 5 Gradio UI",
buttons=[{"label": "Download", "url": "https://github.com/Eddycrack864/UVR5-UI"}],
large_image="logo",
large_text="Separating tracks with UVR5 UI",
small_image=config["small_image"],
small_text=config["small_text"],
start=dt.datetime.now().timestamp(),
)
except Exception as e:
print(f"Error updating Discord presence: {e}")
self.discord_available = False
self.cleanup()
def set_state(self, state):
if self.discord_available:
with self.lock:
self.current_state = state
if self.running:
self.update_presence()
def cleanup(self):
self.running = False
if self.rpc and self.discord_available:
try:
self.rpc.close()
except:
pass
self.rpc = None
self.discord_available = False
def stop_presence(self):
self.cleanup()
RPCManager = RichPresenceManager()
def track_presence(state_message):
def decorator(func):
@functools.wraps(func)
def wrapper(*args, **kwargs):
if RPCManager.running and RPCManager.discord_available:
RPCManager.set_state(state_message)
try:
result = func(*args, **kwargs)
return result
finally:
if RPCManager.running and RPCManager.discord_available:
RPCManager.set_state("Idling")
return wrapper
return decorator123456789101112131415161718192021222324[{"id": "freddyaboulton/dracula_revamped"},{"id": "freddyaboulton/bad-theme-space"},{"id": "gradio/dracula_revamped"},{"id": "abidlabs/dracula_revamped"},{"id": "gradio/seafoam"},{"id": "gradio/monochrome"},{"id": "gradio/soft"},{"id": "gradio/default"},{"id": "dawood/microsoft_windows"},{"id": "ysharma/steampunk"},{"id": "ysharma/huggingface"},{"id": "gstaff/xkcd"},{"id": "JohnSmith9982/small_and_pretty"},{"id": "abidlabs/Lime"},{"id": "bethecloud/storj_theme"},{"id": "sudeepshouche/minimalist"},{"id": "knotdgaf/gradiotest"},{"id": "ParityError/Interstellar"},{"id": "ParityError/Anime"},{"id": "Ajaxon6255/Emerald_Isle"},{"id": "NoCrypt/miku"},{"id": "Hev832/Applio"}]1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283[{"id": "freddyaboulton/dracula_revamped"},{"id": "freddyaboulton/bad-theme-space"},{"id": "gradio/dracula_revamped"},{"id": "abidlabs/dracula_revamped"},{"id": "gradio/dracula_test"},{"id": "abidlabs/dracula_test"},{"id": "gradio/seafoam"},{"id": "gradio/glass"},{"id": "gradio/monochrome"},{"id": "gradio/soft"},{"id": "gradio/default"},{"id": "gradio/base"},{"id": "abidlabs/pakistan"},{"id": "dawood/microsoft_windows"},{"id": "ysharma/steampunk"},{"id": "ysharma/huggingface"},{"id": "gstaff/xkcd"},{"id": "JohnSmith9982/small_and_pretty"},{"id": "abidlabs/Lime"},{"id": "freddyaboulton/this-theme-does-not-exist-2"},{"id": "aliabid94/new-theme"},{"id": "aliabid94/test2"},{"id": "aliabid94/test3"},{"id": "aliabid94/test4"},{"id": "abidlabs/banana"},{"id": "freddyaboulton/test-blue"},{"id": "gstaff/sketch"},{"id": "gstaff/whiteboard"},{"id": "ysharma/llamas"},{"id": "abidlabs/font-test"},{"id": "YenLai/Superhuman"},{"id": "bethecloud/storj_theme"},{"id": "sudeepshouche/minimalist"},{"id": "knotdgaf/gradiotest"},{"id": "ParityError/Interstellar"},{"id": "ParityError/Anime"},{"id": "Ajaxon6255/Emerald_Isle"},{"id": "ParityError/LimeFace"},{"id": "finlaymacklon/smooth_slate"},{"id": "finlaymacklon/boxy_violet"},{"id": "derekzen/stardust"},{"id": "EveryPizza/Cartoony-Gradio-Theme"},{"id": "Ifeanyi/Cyanister"},{"id": "Tshackelton/IBMPlex-DenseReadable"},{"id": "snehilsanyal/scikit-learn"},{"id": "Himhimhim/xkcd"},{"id": "shivi/calm_seafoam"},{"id": "nota-ai/theme"},{"id": "rawrsor1/Everforest"},{"id": "SebastianBravo/simci_css"},{"id": "rottenlittlecreature/Moon_Goblin"},{"id": "abidlabs/test-yellow"},{"id": "abidlabs/test-yellow3"},{"id": "idspicQstitho/dracula_revamped"},{"id": "kfahn/AnimalPose"},{"id": "HaleyCH/HaleyCH_Theme"},{"id": "simulKitke/dracula_test"},{"id": "braintacles/CrimsonNight"},{"id": "wentaohe/whiteboardv2"},{"id": "reilnuud/polite"},{"id": "remilia/Ghostly"},{"id": "Franklisi/darkmode"},{"id": "coding-alt/soft"},{"id": "xiaobaiyuan/theme_land"},{"id": "step-3-profit/Midnight-Deep"},{"id": "xiaobaiyuan/theme_demo"},{"id": "Taithrah/Minimal"},{"id": "Insuz/SimpleIndigo"},{"id": "zkunn/Alipay_Gradio_theme"},{"id": "Insuz/Mocha"},{"id": "xiaobaiyuan/theme_brief"},{"id": "Ama434/434-base-Barlow"},{"id": "Ama434/def_barlow"},{"id": "Ama434/neutral-barlow"},{"id": "dawood/dracula_test"},{"id": "nuttea/Softblue"},{"id": "BlueDancer/Alien_Diffusion"},{"id": "naughtondale/monochrome"},{"id": "Dagfinn1962/standard"},{"id": "NoCrypt/miku"},{"id": "Hev832/Applio"}]
1234audio-separator[gpu]==0.28.5scipygradio==5.9.1yt_dlp12345audio-separator[gpu]==0.28.5scipygradio==5.16.0yt_dlppypresence
README.md+1-1
app.py+34-5
assets/config.json+2-1
assets/favicon.icoAdded
assets/i18n/languages/ar_AR.jsonAdded+71
assets/i18n/languages/de_DE.jsonAdded+71
assets/i18n/languages/en_US.json+1
assets/i18n/languages/es_ES.json+1
assets/i18n/languages/fr-FR.jsonAdded+71
assets/i18n/languages/hi_IN.json+1
assets/i18n/languages/id_ID.json+1
assets/i18n/languages/it_IT.json+1
assets/i18n/languages/ja_JP.json+1
assets/i18n/languages/ko_KR.json+1
assets/i18n/languages/ms_MY.json+1
assets/i18n/languages/pt_BR.json+1
assets/i18n/languages/ru_RU.json+1
assets/i18n/languages/th_TH.json+1
assets/i18n/languages/tr_TR.json+1
assets/i18n/languages/uk_UA.json+1
assets/i18n/languages/vi_VN.jsonAdded+71
assets/i18n/languages/zh_CN.json+1
assets/presence/discord_presence.pyAdded+152
assets/themes/themes_list.json+82-23
requirements.txt+3-2