Spaces:
Paused
Paused
added more examples
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def infer (image_in):
|
|
| 19 |
css="""
|
| 20 |
|
| 21 |
#col-container {
|
| 22 |
-
max-width:
|
| 23 |
margin-left: auto;
|
| 24 |
margin-right: auto;
|
| 25 |
}
|
|
@@ -113,7 +113,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 113 |
<p style="text-align: center;">
|
| 114 |
Turn any image into a video ! <br />
|
| 115 |
To use this demo, simply upload an image and hit the Submit button. <br />
|
| 116 |
-
Don't forget to share your results with the Community ;)
|
| 117 |
</p>
|
| 118 |
|
| 119 |
[](https://huggingface.co/spaces/fffiloni/MS-Image2Video-cloning?duplicate=true)
|
|
@@ -163,6 +163,39 @@ with gr.Blocks(css=css) as demo:
|
|
| 163 |
[
|
| 164 |
"./examples/animals_firecamp.png",
|
| 165 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 166 |
],
|
| 167 |
fn = infer,
|
| 168 |
inputs = [
|
|
@@ -172,7 +205,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 172 |
video_out,
|
| 173 |
share_group
|
| 174 |
],
|
| 175 |
-
cache_examples =
|
| 176 |
)
|
| 177 |
|
| 178 |
submit_btn.click(
|
|
|
|
| 19 |
css="""
|
| 20 |
|
| 21 |
#col-container {
|
| 22 |
+
max-width: 580px;
|
| 23 |
margin-left: auto;
|
| 24 |
margin-right: auto;
|
| 25 |
}
|
|
|
|
| 113 |
<p style="text-align: center;">
|
| 114 |
Turn any image into a video ! <br />
|
| 115 |
To use this demo, simply upload an image and hit the Submit button. <br />
|
| 116 |
+
Don't forget to share your results with the <a href="https://huggingface.co/spaces/fffiloni/MS-Image2Video/discussions">Community</a> ;)
|
| 117 |
</p>
|
| 118 |
|
| 119 |
[](https://huggingface.co/spaces/fffiloni/MS-Image2Video-cloning?duplicate=true)
|
|
|
|
| 163 |
[
|
| 164 |
"./examples/animals_firecamp.png",
|
| 165 |
],
|
| 166 |
+
[
|
| 167 |
+
"./examples/adventurer.png",
|
| 168 |
+
],
|
| 169 |
+
[
|
| 170 |
+
"./examples/anime_girl.png",
|
| 171 |
+
],
|
| 172 |
+
[
|
| 173 |
+
"./examples/hopper_nighthawks.jpeg",
|
| 174 |
+
],
|
| 175 |
+
[
|
| 176 |
+
"./examples/joconde.png",
|
| 177 |
+
],
|
| 178 |
+
[
|
| 179 |
+
"./examples/medieval_barmaid.png",
|
| 180 |
+
],
|
| 181 |
+
[
|
| 182 |
+
"./examples/old_ladies.jpeg",
|
| 183 |
+
],
|
| 184 |
+
[
|
| 185 |
+
"./examples/snow_white.png",
|
| 186 |
+
],
|
| 187 |
+
[
|
| 188 |
+
"./examples/violonist.png",
|
| 189 |
+
],
|
| 190 |
+
[
|
| 191 |
+
"./examples/voilier.jpeg",
|
| 192 |
+
],
|
| 193 |
+
[
|
| 194 |
+
"./examples/wet_coast.jpeg",
|
| 195 |
+
],
|
| 196 |
+
[
|
| 197 |
+
"./examples/winter_out.png",
|
| 198 |
+
],
|
| 199 |
],
|
| 200 |
fn = infer,
|
| 201 |
inputs = [
|
|
|
|
| 205 |
video_out,
|
| 206 |
share_group
|
| 207 |
],
|
| 208 |
+
cache_examples = True
|
| 209 |
)
|
| 210 |
|
| 211 |
submit_btn.click(
|