Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,11 @@ from utilities.setup import get_files
|
|
5 |
|
6 |
#@spaces.GPU
|
7 |
def process_meeting(audio_input, num_speakers, speaker_names):
|
|
|
|
|
|
|
|
|
|
|
8 |
if 1 < num_speakers < 6:
|
9 |
answer = "Completed Loading Data", "fl"
|
10 |
else:
|
@@ -37,6 +42,7 @@ def main(conf):
|
|
37 |
datatype=["str", "str"],
|
38 |
row_count=(5,"fixed"),
|
39 |
col_count=(2, "fixed"),
|
|
|
40 |
)
|
41 |
|
42 |
process_button = gr.Button("Process")
|
|
|
5 |
|
6 |
#@spaces.GPU
|
7 |
def process_meeting(audio_input, num_speakers, speaker_names):
|
8 |
+
"""
|
9 |
+
audio_input: filepath --> str
|
10 |
+
num_speakers: number --> int
|
11 |
+
speaker_names: dataset --> np.array
|
12 |
+
"""
|
13 |
if 1 < num_speakers < 6:
|
14 |
answer = "Completed Loading Data", "fl"
|
15 |
else:
|
|
|
42 |
datatype=["str", "str"],
|
43 |
row_count=(5,"fixed"),
|
44 |
col_count=(2, "fixed"),
|
45 |
+
type="pandas"
|
46 |
)
|
47 |
|
48 |
process_button = gr.Button("Process")
|