Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1280,7 +1280,8 @@ def launch_ui(demo_mode=False):
|
|
1280 |
])
|
1281 |
|
1282 |
iface = gr.Interface(
|
1283 |
-
fn=lambda
|
|
|
1284 |
inputs=inputs,
|
1285 |
outputs=[
|
1286 |
gr.components.Textbox(label="Transcription", value=lambda: "", max_lines=10),
|
|
|
1280 |
])
|
1281 |
|
1282 |
iface = gr.Interface(
|
1283 |
+
fn=lambda url, num_speakers, whisper_model, offset, api_name, api_key: process_url(url, num_speakers, whisper_model, offset, api_name=api_name, api_key=api_key, demo_mode=demo_mode),
|
1284 |
+
# fn=lambda *args: process_url(*args, demo_mode=demo_mode),
|
1285 |
inputs=inputs,
|
1286 |
outputs=[
|
1287 |
gr.components.Textbox(label="Transcription", value=lambda: "", max_lines=10),
|