cjayic commited on
Commit
f664937
·
1 Parent(s): 5c5450e

real final mobile mic fix (real (no fake))

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ def infer(md, mic_audio, audio, speaker_id, pitch_shift, length_scale, noise_sca
41
 
42
  if source.dim() == 1:
43
  print("unsqueezing")
44
- source = source.unsqueeze(0)
45
 
46
  source = source.T
47
 
 
41
 
42
  if source.dim() == 1:
43
  print("unsqueezing")
44
+ source = source.unsqueeze(1)
45
 
46
  source = source.T
47