fffiloni commited on
Commit
eaadc4b
·
verified ·
1 Parent(s): 73adabf

add examples

Browse files
Files changed (1) hide show
  1. app_df.py +10 -0
app_df.py CHANGED
@@ -167,6 +167,16 @@ with gr.Blocks() as demo:
167
 
168
  output_video = gr.Video(label="Generated Video")
169
 
 
 
 
 
 
 
 
 
 
 
170
  submit_btn.click(
171
  fn = generate_diffusion_forced_video,
172
  inputs = [
 
167
 
168
  output_video = gr.Video(label="Generated Video")
169
 
170
+ gr.Examples(
171
+ examples = [
172
+ ["A graceful white swan with a curved neck and delicate feathers swimming in a serene lake at dawn, its reflection perfectly mirrored in the still water as mist rises from the surface, with the swan occasionally dipping its head into the water to feed.", "./examples/swan.jpeg"],
173
+ ["A graceful white swan with a curved neck and delicate feathers swimming in a serene lake at dawn, its reflection perfectly mirrored in the still water as mist rises from the surface, with the swan occasionally dipping its head into the water to feed.", None],
174
+ ["A sea turtle swimming near a shipwreck", "./examples/turtle.jpeg"],
175
+ ["A sea turtle swimming near a shipwreck", None],
176
+ ],
177
+ inputs = [prompt, image]
178
+ )
179
+
180
  submit_btn.click(
181
  fn = generate_diffusion_forced_video,
182
  inputs = [