Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -211,6 +211,18 @@ with gr.Blocks(css='style.css') as demo:
|
|
211 |
community_icon = gr.HTML(community_icon_html)
|
212 |
loading_icon = gr.HTML(loading_icon_html)
|
213 |
share_button = gr.Button("Share to community", elem_id="share-btn")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
gr.HTML(article)
|
215 |
|
216 |
inputs = [prompt,video_inp,seed_inp, trim_in]
|
@@ -219,15 +231,6 @@ with gr.Blocks(css='style.css') as demo:
|
|
219 |
submit_btn.click(infer, inputs, outputs)
|
220 |
share_button.click(None, [], [], _js=share_js)
|
221 |
|
222 |
-
|
223 |
-
[
|
224 |
-
["Make it a marble sculpture", "./examples/pexels-jill-burrow-7665249_512x512.mp4", 422112651, 4],
|
225 |
-
["Make it molten lava", "./examples/Ocean_Pexels_ 8953474_512x512.mp4", 43571876, 4]
|
226 |
-
],
|
227 |
-
inputs=inputs,
|
228 |
-
outputs=outputs,
|
229 |
-
fn=infer,
|
230 |
-
cache_examples=True,
|
231 |
-
)
|
232 |
|
233 |
demo.launch().queue(max_size=12)
|
|
|
211 |
community_icon = gr.HTML(community_icon_html)
|
212 |
loading_icon = gr.HTML(loading_icon_html)
|
213 |
share_button = gr.Button("Share to community", elem_id="share-btn")
|
214 |
+
|
215 |
+
ex = gr.Examples(
|
216 |
+
[
|
217 |
+
["Make it a marble sculpture", "./examples/pexels-jill-burrow-7665249_512x512.mp4", 422112651, 4],
|
218 |
+
["Make it molten lava", "./examples/Ocean_Pexels_ 8953474_512x512.mp4", 43571876, 4]
|
219 |
+
],
|
220 |
+
inputs=inputs,
|
221 |
+
outputs=outputs,
|
222 |
+
fn=infer,
|
223 |
+
cache_examples=True,
|
224 |
+
)
|
225 |
+
|
226 |
gr.HTML(article)
|
227 |
|
228 |
inputs = [prompt,video_inp,seed_inp, trim_in]
|
|
|
231 |
submit_btn.click(infer, inputs, outputs)
|
232 |
share_button.click(None, [], [], _js=share_js)
|
233 |
|
234 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
235 |
|
236 |
demo.launch().queue(max_size=12)
|