Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,6 @@ ttp = pipeline("text2text-generation", model="aware-ai/marian-german-grammar")
|
|
10 |
|
11 |
def transcribe(audio):
|
12 |
transcribed = p(audio, chunk_length_s=16, stride_length_s=(4, 0))["text"]
|
13 |
-
transcribed = punctuate(transcribed)
|
14 |
return transcribed
|
15 |
|
16 |
def punctuate(transcribed):
|
|
|
10 |
|
11 |
def transcribe(audio):
|
12 |
transcribed = p(audio, chunk_length_s=16, stride_length_s=(4, 0))["text"]
|
|
|
13 |
return transcribed
|
14 |
|
15 |
def punctuate(transcribed):
|