Chrysoula commited on
Commit
6340556
1 Parent(s): c1ac5b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,7 +4,8 @@ import gradio as gr
4
  pipe = pipeline(model="Hoft/whisper-small-swedish-asr") # change to "your-username/the-name-you-picked"
5
 
6
  def transcribe(audio, file):
7
- print(audio, file)
 
8
  if audio is not None:
9
  text = pipe(audio)["text"]
10
  return text
 
4
  pipe = pipeline(model="Hoft/whisper-small-swedish-asr") # change to "your-username/the-name-you-picked"
5
 
6
  def transcribe(audio, file):
7
+ print("AUDIO:",audio)
8
+ print("FILE:", file)
9
  if audio is not None:
10
  text = pipe(audio)["text"]
11
  return text