khalidey commited on
Commit
5eb56a0
1 Parent(s): cdb9ddf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -25,6 +25,8 @@ def youtube_transcribe(url):
25
 
26
  audio_dataset = Dataset.from_dict({"audio": list(path)}).cast_column("audio", Audio(sampling_rate=16000))
27
  text = pipe1(audio_dataset["audio"])["text"]
 
 
28
 
29
  with gr.Blocks() as demo:
30
  gr.Markdown("Whisper Small Swedish + Swedish GPT")
 
25
 
26
  audio_dataset = Dataset.from_dict({"audio": list(path)}).cast_column("audio", Audio(sampling_rate=16000))
27
  text = pipe1(audio_dataset["audio"])["text"]
28
+
29
+ return text
30
 
31
  with gr.Blocks() as demo:
32
  gr.Markdown("Whisper Small Swedish + Swedish GPT")