Spaces:
Sleeping
Sleeping
Update app.py
#2
by
xadavol435
- opened
app.py
CHANGED
@@ -121,7 +121,7 @@ with gr.Blocks() as demo:
|
|
121 |
gr.HTML(title)
|
122 |
with gr.Row():
|
123 |
with gr.Column():
|
124 |
-
video_input = gr.Video(
|
125 |
gif_input = gr.File(label="import a GIF instead", file_types=['.gif'])
|
126 |
gif_input.change(fn=convertG2V, inputs=gif_input, outputs=video_input)
|
127 |
submit_btn = gr.Button("Submit")
|
|
|
121 |
gr.HTML(title)
|
122 |
with gr.Row():
|
123 |
with gr.Column():
|
124 |
+
video_input = gr.Video(sources="upload", value="filepath")
|
125 |
gif_input = gr.File(label="import a GIF instead", file_types=['.gif'])
|
126 |
gif_input.change(fn=convertG2V, inputs=gif_input, outputs=video_input)
|
127 |
submit_btn = gr.Button("Submit")
|