Spaces:
Running
Running
Commit
•
5bc61d5
1
Parent(s):
a8cf837
fix examples
Browse files
app.py
CHANGED
@@ -321,11 +321,11 @@ with gr.Blocks() as demo:
|
|
321 |
with gr.Column():
|
322 |
with gr.Accordion("I2V: Image Input (cannot be used simultaneously with video input)", open=False):
|
323 |
image_input = gr.Image(label="Input Image (will be cropped to 720 * 480)")
|
324 |
-
examples_component_images = gr.Examples(examples_images, inputs=[
|
325 |
with gr.Accordion("V2V: Video Input (cannot be used simultaneously with image input)", open=False):
|
326 |
video_input = gr.Video(label="Input Video (will be cropped to 49 frames, 6 seconds at 8fps)")
|
327 |
strength = gr.Slider(0.1, 1.0, value=0.8, step=0.01, label="Strength")
|
328 |
-
examples_component_videos = gr.Examples(examples_videos, inputs=[
|
329 |
prompt = gr.Textbox(label="Prompt (Less than 200 Words)", placeholder="Enter your prompt here", lines=5)
|
330 |
|
331 |
with gr.Row():
|
|
|
321 |
with gr.Column():
|
322 |
with gr.Accordion("I2V: Image Input (cannot be used simultaneously with video input)", open=False):
|
323 |
image_input = gr.Image(label="Input Image (will be cropped to 720 * 480)")
|
324 |
+
examples_component_images = gr.Examples(examples_images, inputs=[image_input], cache_examples=False)
|
325 |
with gr.Accordion("V2V: Video Input (cannot be used simultaneously with image input)", open=False):
|
326 |
video_input = gr.Video(label="Input Video (will be cropped to 49 frames, 6 seconds at 8fps)")
|
327 |
strength = gr.Slider(0.1, 1.0, value=0.8, step=0.01, label="Strength")
|
328 |
+
examples_component_videos = gr.Examples(examples_videos, inputs=[video_input], cache_examples=False)
|
329 |
prompt = gr.Textbox(label="Prompt (Less than 200 Words)", placeholder="Enter your prompt here", lines=5)
|
330 |
|
331 |
with gr.Row():
|