jilijeanlouis commited on
Commit
ce11ee8
1 Parent(s): 5eb3657

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -38,9 +38,14 @@ def transcribe(
38
 
39
  language_behaviour = ACCEPTED_LANGUAGE_BEHAVIOUR[2]
40
 
 
 
41
  # if video file is there then send the audio field as the content of the video
42
  files = {
43
  "language_behaviour": (None, language_behaviour),
 
 
 
44
  }
45
 
46
  # priority given to the audio or video
 
38
 
39
  language_behaviour = ACCEPTED_LANGUAGE_BEHAVIOUR[2]
40
 
41
+ # if video file is there then send the audio field as the content of the video
42
+
43
  # if video file is there then send the audio field as the content of the video
44
  files = {
45
  "language_behaviour": (None, language_behaviour),
46
+ "noise_reduction": (None, "false"),
47
+ 'output_format': (None, 'json'),
48
+ 'toggle_diarization': (None, 'true'),
49
  }
50
 
51
  # priority given to the audio or video