Spaces:
Runtime error
Runtime error
Comment out debug keys
Browse filesSigned-off-by: smajumdar <[email protected]>
app.py
CHANGED
|
@@ -420,8 +420,6 @@ def transcribe(microphone, audio_file, model_name):
|
|
| 420 |
output += f""" <br><br>
|
| 421 |
Note: Audio duration was {audio_duration: 0.3f} s, so model had to be downloaded, initialized, and then
|
| 422 |
buffered inference was used. <br>
|
| 423 |
-
|
| 424 |
-
Please rerun again in order to measure the time taken for just inference with pre-downloaded model. <br>
|
| 425 |
"""
|
| 426 |
|
| 427 |
html_output = build_html_output(output)
|
|
@@ -479,8 +477,6 @@ def yt_transcribe(yt_url, model_name):
|
|
| 479 |
html_output += f""" <br>
|
| 480 |
Note: Audio duration was {audio_duration: 0.3f} s, so model had to be downloaded, initialized, and then
|
| 481 |
buffered inference was used. <br>
|
| 482 |
-
|
| 483 |
-
Please rerun again in order to measure the time taken for just inference with pre-downloaded model. <br>
|
| 484 |
"""
|
| 485 |
|
| 486 |
html_output = build_html_output(html_output)
|
|
|
|
| 420 |
output += f""" <br><br>
|
| 421 |
Note: Audio duration was {audio_duration: 0.3f} s, so model had to be downloaded, initialized, and then
|
| 422 |
buffered inference was used. <br>
|
|
|
|
|
|
|
| 423 |
"""
|
| 424 |
|
| 425 |
html_output = build_html_output(output)
|
|
|
|
| 477 |
html_output += f""" <br>
|
| 478 |
Note: Audio duration was {audio_duration: 0.3f} s, so model had to be downloaded, initialized, and then
|
| 479 |
buffered inference was used. <br>
|
|
|
|
|
|
|
| 480 |
"""
|
| 481 |
|
| 482 |
html_output = build_html_output(html_output)
|