Update app.py
Browse files
app.py
CHANGED
@@ -232,9 +232,10 @@ demo = gr.Interface(fn=generate_images, inputs=inputs, outputs=outputs,
|
|
232 |
""",
|
233 |
examples=[
|
234 |
["[2, 3, 4]", "Rearrange('c h w -> c w h')"],
|
|
|
235 |
["[2, 3, 4, 4]", "Rearrange('b c h w -> b c (h w)')"],
|
236 |
-
["[2, 3, 4, 4]", "Rearrange('b c (h p1) (w p2) -> b (h w) (p1 p2 c)', p1 = 2, p2 = 2)"]
|
237 |
-
[
|
238 |
]
|
239 |
)
|
240 |
if __name__ == "__main__":
|
|
|
232 |
""",
|
233 |
examples=[
|
234 |
["[2, 3, 4]", "Rearrange('c h w -> c w h')"],
|
235 |
+
["[2, 3, 4]", "Rearrange('c h w -> c w h')&Rearrange('c h w -> c w h')&Rearrange('c h w -> c w h')"],
|
236 |
["[2, 3, 4, 4]", "Rearrange('b c h w -> b c (h w)')"],
|
237 |
+
["[2, 3, 4, 4]", "Rearrange('b c (h p1) (w p2) -> b (h w) (p1 p2 c)', p1 = 2, p2 = 2)"],
|
238 |
+
["[2, 3, 4, 4]", "Rearrange('b c (h p1) (w p2) -> b h w (p1 p2 c)', p1 = 2, p2 = 2)&Rearrange('b h w (c s) -> b w c (h s)', s=2)"]
|
239 |
]
|
240 |
)
|
241 |
if __name__ == "__main__":
|