Spaces:
Running
on
Zero
Running
on
Zero
init
Browse files
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:
|
51 |
-
min_speakers:
|
52 |
-
max_speakers:
|
53 |
-
add_silence_end:
|
54 |
-
add_silence_start:
|
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:
|