Spaces:
Build error
Build error
nithinraok
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,6 @@ microphone_interface = gr.Interface(
|
|
111 |
title="Offline Speaker Diarization with NeMo",
|
112 |
description="This demonstration will perform offline speaker diarization on an audio file using nemo",
|
113 |
article=article,
|
114 |
-
layout="vertical",
|
115 |
theme="huggingface",
|
116 |
allow_flagging=False,
|
117 |
live=False,
|
@@ -126,7 +125,6 @@ upload_interface = gr.Interface(
|
|
126 |
title="Offline Speaker Diarization with NeMo",
|
127 |
description="This demonstration will perform offline speaker diarization on an audio file using nemo",
|
128 |
article=article,
|
129 |
-
layout="vertical",
|
130 |
theme="huggingface",
|
131 |
allow_flagging=False,
|
132 |
live=False,
|
@@ -135,4 +133,5 @@ upload_interface = gr.Interface(
|
|
135 |
|
136 |
demo = gr.TabbedInterface([microphone_interface, upload_interface], ["Microphone", "Upload File"])
|
137 |
|
138 |
-
demo.
|
|
|
|
111 |
title="Offline Speaker Diarization with NeMo",
|
112 |
description="This demonstration will perform offline speaker diarization on an audio file using nemo",
|
113 |
article=article,
|
|
|
114 |
theme="huggingface",
|
115 |
allow_flagging=False,
|
116 |
live=False,
|
|
|
125 |
title="Offline Speaker Diarization with NeMo",
|
126 |
description="This demonstration will perform offline speaker diarization on an audio file using nemo",
|
127 |
article=article,
|
|
|
128 |
theme="huggingface",
|
129 |
allow_flagging=False,
|
130 |
live=False,
|
|
|
133 |
|
134 |
demo = gr.TabbedInterface([microphone_interface, upload_interface], ["Microphone", "Upload File"])
|
135 |
|
136 |
+
demo.queue(max_size=2, default_concurrency_limit=1)
|
137 |
+
demo.launch()
|