Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,6 +16,7 @@ def greet(null):
|
|
| 16 |
model = whisper.load_model(name=i, device=device)
|
| 17 |
duration_sum = 0
|
| 18 |
for idx, j in enumerate(file_list):
|
|
|
|
| 19 |
audio = whisper.load_audio(path + j, sr=16000)
|
| 20 |
start = time.time()
|
| 21 |
result = model.transcribe(audio, language='en', task='transcribe', fp16=k)
|
|
|
|
| 16 |
model = whisper.load_model(name=i, device=device)
|
| 17 |
duration_sum = 0
|
| 18 |
for idx, j in enumerate(file_list):
|
| 19 |
+
print(j)
|
| 20 |
audio = whisper.load_audio(path + j, sr=16000)
|
| 21 |
start = time.time()
|
| 22 |
result = model.transcribe(audio, language='en', task='transcribe', fp16=k)
|