update
Browse files
app.py
CHANGED
@@ -64,13 +64,15 @@ css="""
|
|
64 |
examples = [
|
65 |
"a cat waving its paws in the air",
|
66 |
"a panda moving their hips from side to side",
|
|
|
67 |
]
|
68 |
|
69 |
with gr.Blocks(css=css) as demo:
|
70 |
with gr.Column(elem_id="col-container"):
|
71 |
-
gr.Markdown("Create GIFs with Flux-dev. Based on @fofr's [tweet](https://x.com/fofrAI/status/1828910395962343561)")
|
|
|
72 |
with gr.Row():
|
73 |
-
prompt = gr.Text("Prompt", show_label=False, max_lines=1, placeholder="Enter your prompt")
|
74 |
submit = gr.Button("Submit", scale=0)
|
75 |
|
76 |
with gr.Accordion("Advanced Settings", open=False):
|
@@ -100,7 +102,7 @@ with gr.Blocks(css=css) as demo:
|
|
100 |
value=28,
|
101 |
)
|
102 |
|
103 |
-
output = gr.Image("GIF", show_label=False)
|
104 |
gr.Examples(
|
105 |
examples=examples,
|
106 |
fn=predict,
|
|
|
64 |
examples = [
|
65 |
"a cat waving its paws in the air",
|
66 |
"a panda moving their hips from side to side",
|
67 |
+
"a flower going through the process of blooming"
|
68 |
]
|
69 |
|
70 |
with gr.Blocks(css=css) as demo:
|
71 |
with gr.Column(elem_id="col-container"):
|
72 |
+
gr.Markdown("Create GIFs with Flux-dev. Based on @fofr's [tweet](https://x.com/fofrAI/status/1828910395962343561).")
|
73 |
+
gr.Markdown("For better results include a description of the motion in your prompt")
|
74 |
with gr.Row():
|
75 |
+
prompt = gr.Text(label="Prompt", show_label=False, max_lines=1, placeholder="Enter your prompt")
|
76 |
submit = gr.Button("Submit", scale=0)
|
77 |
|
78 |
with gr.Accordion("Advanced Settings", open=False):
|
|
|
102 |
value=28,
|
103 |
)
|
104 |
|
105 |
+
output = gr.Image(label="GIF", show_label=False)
|
106 |
gr.Examples(
|
107 |
examples=examples,
|
108 |
fn=predict,
|