Doubiiu commited on
Commit
eec49a2
1 Parent(s): 28fb111

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -95,18 +95,18 @@ def infer(image, prompt, steps=50, cfg_scale=7.5, eta=1.0, fs=3, seed=123):
95
  return video_path
96
 
97
 
 
 
 
 
 
 
 
 
98
 
99
 
100
 
101
 
102
- i2v_examples = [
103
- ['prompts/art.png', 'man fishing in a boat at sunset', 50, 7.5, 1.0, 3, 234],
104
- ['prompts/boy.png', 'boy walking on the street', 50, 7.5, 1.0, 3, 125],
105
- ['prompts/dance1.jpeg', 'two people dancing', 50, 7.5, 1.0, 3, 116],
106
- ['prompts/fire_and_beach.jpg', 'a campfire on the beach and the ocean waves in the background', 50, 7.5, 1.0, 3, 111],
107
- ['prompts/girl3.jpeg', 'girl talking and blinking', 50, 7.5, 1.0, 3, 111],
108
- ['prompts/guitar0.jpeg', 'bear playing guitar happily, snowing', 50, 7.5, 1.0, 3, 111],
109
- ]
110
  css = """#input_img {max-width: 1024px !important} #output_vid {max-width: 1024px; max-height: 576px}"""
111
 
112
  with gr.Blocks(analytics_enabled=False, css=css) as dynamicrafter_iface:
 
95
  return video_path
96
 
97
 
98
+ i2v_examples = [
99
+ ['prompts/1024/astronaut04.png', 'a man in an astronaut suit playing a guitar', 50, 7.5, 1.0, 6, 123],
100
+ ['prompts/1024/bloom01.png', 'time-lapse of a blooming flower with leaves and a stem', 50, 7.5, 1.0, 10, 123],
101
+ ['prompts/1024/girl07.png', 'a beautiful woman with long hair and a dress blowing in the wind', 50, 7.5, 1.0, 10, 123],
102
+ ['prompts/1024/pour_bear.png', 'pouring beer into a glass of ice and beer', 50, 7.5, 1.0, 10, 123],
103
+ ['prompts/1024/robot01.png', 'a robot is walking through a destroyed city', 50, 7.5, 1.0, 10, 123],
104
+ ['prompts/1024/firework03.png', 'fireworks display', 50, 7.5, 1.0, 10, 123],
105
+ ]
106
 
107
 
108
 
109
 
 
 
 
 
 
 
 
 
110
  css = """#input_img {max-width: 1024px !important} #output_vid {max-width: 1024px; max-height: 576px}"""
111
 
112
  with gr.Blocks(analytics_enabled=False, css=css) as dynamicrafter_iface: