Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,6 +74,28 @@ with gr.Blocks(css=css) as demo:
|
|
| 74 |
label = "Video Result"
|
| 75 |
)
|
| 76 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 77 |
gr.HTML("""
|
| 78 |
|
| 79 |
<div class="footer">
|
|
|
|
| 74 |
label = "Video Result"
|
| 75 |
)
|
| 76 |
|
| 77 |
+
gr.Examples(
|
| 78 |
+
examples = [
|
| 79 |
+
[
|
| 80 |
+
"./examples/renaissance.png",
|
| 81 |
+
],
|
| 82 |
+
[
|
| 83 |
+
"./examples/reverie.png",
|
| 84 |
+
],
|
| 85 |
+
[
|
| 86 |
+
"./examples/animals_firecamp.png",
|
| 87 |
+
],
|
| 88 |
+
],
|
| 89 |
+
fn = infer,
|
| 90 |
+
inputs = [
|
| 91 |
+
image_in
|
| 92 |
+
],
|
| 93 |
+
outputs = [
|
| 94 |
+
video_out
|
| 95 |
+
],
|
| 96 |
+
cache_examples = False
|
| 97 |
+
)
|
| 98 |
+
|
| 99 |
gr.HTML("""
|
| 100 |
|
| 101 |
<div class="footer">
|