Spaces:
Running
on
T4
Running
on
T4
Fabrice-TIERCELIN
commited on
This PR makes the space work again
Browse filesClick on _Merge_ to add this feature
_Successfully tested on a private space_
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"])
|
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")
|