Spaces:
Runtime error
Runtime error
Commit ·
9f1ce44
1
Parent(s): 332fb29
set min width with placeholder
Browse files
app.py
CHANGED
|
@@ -312,7 +312,8 @@ with gr.Blocks(theme='WeixuanYuan/Soft_dark') as demo:
|
|
| 312 |
gr.Markdown(DESCRIPTION)
|
| 313 |
with gr.Column():
|
| 314 |
#with gr.Row():
|
| 315 |
-
in_video = gr.PlayableVideo(label="Input Video", elem_id='input-video', format='mp4', width='50%', interactive=True)
|
|
|
|
| 316 |
|
| 317 |
with gr.Row():
|
| 318 |
run_button = gr.Button(value="Run", elem_id='run-button', scale=1)
|
|
|
|
| 312 |
gr.Markdown(DESCRIPTION)
|
| 313 |
with gr.Column():
|
| 314 |
#with gr.Row():
|
| 315 |
+
in_video = gr.PlayableVideo(label="Input Video", elem_id='input-video', format='mp4', width='50%', min_width=400, interactive=True, container=True)
|
| 316 |
+
placeholder = gr.Markdown(label="", elem_id='placeholder-text')
|
| 317 |
|
| 318 |
with gr.Row():
|
| 319 |
run_button = gr.Button(value="Run", elem_id='run-button', scale=1)
|