Spaces:
Sleeping
Sleeping
Commit
•
bd439bb
1
Parent(s):
e0792e0
Update app.py
Browse files
app.py
CHANGED
@@ -301,9 +301,9 @@ with gr.Blocks() as demo:
|
|
301 |
with gr.Tab("Final Product"):
|
302 |
gr.Interface(
|
303 |
fn=display_video,
|
|
|
304 |
outputs="html",
|
305 |
title="Hardcoded YouTube Video",
|
306 |
description="This interface displays a hardcoded YouTube video."
|
307 |
)
|
308 |
-
|
309 |
demo.queue(max_size=99).launch(debug=False, show_error=True)
|
|
|
301 |
with gr.Tab("Final Product"):
|
302 |
gr.Interface(
|
303 |
fn=display_video,
|
304 |
+
inputs=gr.inputs.Textbox(visible=False), # Invisible dummy input
|
305 |
outputs="html",
|
306 |
title="Hardcoded YouTube Video",
|
307 |
description="This interface displays a hardcoded YouTube video."
|
308 |
)
|
|
|
309 |
demo.queue(max_size=99).launch(debug=False, show_error=True)
|