asahi417 commited on
Commit
add17f8
·
1 Parent(s): 79b4851
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -47,11 +47,11 @@ def get_prediction(inputs, **kwargs):
47
 
48
  def transcribe(inputs: str,
49
  add_punctuation: bool,
50
- num_speakers: Optional[float],
51
- min_speakers: Optional[float],
52
- max_speakers: Optional[float],
53
- add_silence_end: Optional[float],
54
- add_silence_start: Optional[float]):
55
  if inputs is None:
56
  raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
57
  with open(inputs, "rb") as f:
 
47
 
48
  def transcribe(inputs: str,
49
  add_punctuation: bool,
50
+ num_speakers: float,
51
+ min_speakers: float,
52
+ max_speakers: float,
53
+ add_silence_end: float,
54
+ add_silence_start: float):
55
  if inputs is None:
56
  raise gr.Error("No audio file submitted! Please upload or record an audio file before submitting your request.")
57
  with open(inputs, "rb") as f: