Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,6 @@ def transcribe_audio(audio_file, chunk_length_s=30):
|
|
112 |
with torch.no_grad():
|
113 |
generated_ids = model.generate(
|
114 |
input_features=inputs.input_features.to(device),
|
115 |
-
attention_mask=attention_mask,
|
116 |
**generate_kwargs
|
117 |
)
|
118 |
|
|
|
112 |
with torch.no_grad():
|
113 |
generated_ids = model.generate(
|
114 |
input_features=inputs.input_features.to(device),
|
|
|
115 |
**generate_kwargs
|
116 |
)
|
117 |
|