Spaces:
Build error
Build error
real final mobile mic fix (real (no fake))
Browse files
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(
|
| 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 |
|