Spaces:
Runtime error
Runtime error
Pavankalyan
commited on
Commit
·
228725c
1
Parent(s):
642d01b
Update app.py
Browse files
app.py
CHANGED
@@ -119,7 +119,7 @@ trainer = Trainer()
|
|
119 |
#with torch.no_grad():
|
120 |
# y_hat = model(wav_tensor)
|
121 |
|
122 |
-
def
|
123 |
wav_tensor,_ = audio
|
124 |
wav_tensor = resmaple(wav_tensor)
|
125 |
#model = model.to('cuda')
|
|
|
119 |
#with torch.no_grad():
|
120 |
# y_hat = model(wav_tensor)
|
121 |
|
122 |
+
def transcribe(audio):
|
123 |
wav_tensor,_ = audio
|
124 |
wav_tensor = resmaple(wav_tensor)
|
125 |
#model = model.to('cuda')
|