mskov commited on
Commit
dc45808
·
1 Parent(s): a939b46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -25,12 +25,12 @@ def transcribe(audio_file):
25
  return transcription
26
 
27
  #define a function to process your input and output
28
- def zero_shot(doc, candidates, aud):
29
  given_labels = candidates.split(", ")
30
  dictionary = classifier(doc, given_labels)
31
  labels = dictionary['labels']
32
  scores = dictionary['scores']
33
- print("here is the audio transcribed: ", aud)
34
  return dict(zip(labels, scores))
35
 
36
 
 
25
  return transcription
26
 
27
  #define a function to process your input and output
28
+ def zero_shot(doc, candidates):
29
  given_labels = candidates.split(", ")
30
  dictionary = classifier(doc, given_labels)
31
  labels = dictionary['labels']
32
  scores = dictionary['scores']
33
+ # print("here is the audio transcribed: ", aud)
34
  return dict(zip(labels, scores))
35
 
36