Spaces:
Running
on
T4
Running
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def transcribe(file, return_timestamps=False,lang="no"):
|
|
69 |
truncated = False
|
70 |
|
71 |
|
72 |
-
if lang
|
73 |
if not return_timestamps:
|
74 |
text = pipe(file_to_transcribe)["text"]
|
75 |
formatted_text = format_output(text)
|
|
|
69 |
truncated = False
|
70 |
|
71 |
|
72 |
+
if lang=="no":
|
73 |
if not return_timestamps:
|
74 |
text = pipe(file_to_transcribe)["text"]
|
75 |
formatted_text = format_output(text)
|