Spaces:
Runtime error
Runtime error
upd: log
Browse files
app.py
CHANGED
@@ -97,6 +97,8 @@ def transcribe(image, audio):
|
|
97 |
input_features = transcriber.feature_extractor(
|
98 |
y, sampling_rate=sr, return_tensors="pt"
|
99 |
).input_features
|
|
|
|
|
100 |
|
101 |
transcription = transcriber.model.generate(input_features)
|
102 |
transcription_text = transcriber.tokenizer.decode(
|
|
|
97 |
input_features = transcriber.feature_extractor(
|
98 |
y, sampling_rate=sr, return_tensors="pt"
|
99 |
).input_features
|
100 |
+
print(input_features.shape)
|
101 |
+
print(input_features)
|
102 |
|
103 |
transcription = transcriber.model.generate(input_features)
|
104 |
transcription_text = transcriber.tokenizer.decode(
|