Minor fix to avoid ZeroGPU pickle error due buffered binary file
Browse files
xtts.py
CHANGED
@@ -50,7 +50,7 @@ print("Running XTTS Server ...", flush=True)
|
|
50 |
@spaces.GPU
|
51 |
def predict_speaker(wav_file):
|
52 |
"""Compute conditioning inputs from reference audio file."""
|
53 |
-
|
54 |
if isinstance(wav_file, str):
|
55 |
wav_file = open(wav_file,"rb");
|
56 |
|
|
|
50 |
@spaces.GPU
|
51 |
def predict_speaker(wav_file):
|
52 |
"""Compute conditioning inputs from reference audio file."""
|
53 |
+
|
54 |
if isinstance(wav_file, str):
|
55 |
wav_file = open(wav_file,"rb");
|
56 |
|