Spaces:
Paused
Paused
Update app_rvc.py
Browse files- app_rvc.py +0 -5
app_rvc.py
CHANGED
|
@@ -5,17 +5,12 @@ os.system("pip install -q -r requirements_xtts.txt")
|
|
| 5 |
os.system("pip install -q TTS==0.21.1 --no-deps")
|
| 6 |
import spaces
|
| 7 |
import torch
|
| 8 |
-
if os.environ.get("ZERO_GPU") != "TRUE" and torch.cuda.is_available():
|
| 9 |
-
# onnxruntime GPU
|
| 10 |
-
os.system("pip install ort-nightly-gpu --index-url=https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ort-cuda-12-nightly/pypi/simple/")
|
| 11 |
-
|
| 12 |
from madkoala.logging_setup import (
|
| 13 |
logger,
|
| 14 |
set_logging_level,
|
| 15 |
configure_logging_libs,
|
| 16 |
); configure_logging_libs() # noqa
|
| 17 |
import whisperx
|
| 18 |
-
import os
|
| 19 |
from madkoala.audio_segments import create_translated_audio
|
| 20 |
from madkoala.text_to_speech import (
|
| 21 |
audio_segmentation_to_voice,
|
|
|
|
| 5 |
os.system("pip install -q TTS==0.21.1 --no-deps")
|
| 6 |
import spaces
|
| 7 |
import torch
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
from madkoala.logging_setup import (
|
| 9 |
logger,
|
| 10 |
set_logging_level,
|
| 11 |
configure_logging_libs,
|
| 12 |
); configure_logging_libs() # noqa
|
| 13 |
import whisperx
|
|
|
|
| 14 |
from madkoala.audio_segments import create_translated_audio
|
| 15 |
from madkoala.text_to_speech import (
|
| 16 |
audio_segmentation_to_voice,
|