Update app.py
Browse files
app.py
CHANGED
@@ -16,9 +16,11 @@ mms_upload_source_trans = gr.Audio(
|
|
16 |
source="upload", type="filepath", label="Legg ljóðfílu upp", visible=False
|
17 |
)
|
18 |
|
19 |
-
#
|
20 |
def transcribe_faroese(audio):
|
21 |
-
|
|
|
|
|
22 |
|
23 |
mms_transcribe = gr.Interface(
|
24 |
fn=transcribe_faroese,
|
|
|
16 |
source="upload", type="filepath", label="Legg ljóðfílu upp", visible=False
|
17 |
)
|
18 |
|
19 |
+
# Assuming transcribe is correctly configured to use Faroese language internally
|
20 |
def transcribe_faroese(audio):
|
21 |
+
# Modify this function based on how you set the language within transcribe
|
22 |
+
# This example assumes transcribe is globally configured to Faroese
|
23 |
+
return transcribe(audio)
|
24 |
|
25 |
mms_transcribe = gr.Interface(
|
26 |
fn=transcribe_faroese,
|