rrg92 commited on
Commit
ac9a77d
1 Parent(s): 1643c3b

Minor fix to avoid ZeroGPU pickle error due buffered binary file

Browse files
Files changed (1) hide show
  1. xtts.py +1 -1
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
- wav_file = src
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