naomiKenKorem commited on
Commit
12b7f87
1 Parent(s): d14fa82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -10
app.py CHANGED
@@ -33,21 +33,18 @@ css = """
33
  examples = [
34
  # 12-EpicRealism
35
  [
36
- "epiCRealismNaturalSin.safetensors",
37
  "photo of coastline, rocks, storm weather, wind, waves, lightning, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3",
38
  "blur, haze, deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers, deformed, distorted, disfigured, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation",
39
  512, 512, 32, "1490157606650685400"
40
  ],
41
  # 2-EpicRealism
42
  [
43
- "epiCRealismNaturalSin.safetensors",
44
  "a young man is dancing in a paris nice street",
45
  "wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation render, illustration, deformed, distorted, disfigured, doll, poorly drawn, bad anatomy, wrong anatomy deformed, naked, nude, breast (worst quality low quality: 1.4)",
46
  512, 512, 32, "1"
47
  ],
48
  # 3-EpicRealism
49
  [
50
- "epiCRealismNaturalSin.safetensors",
51
  "photo of coastline, rocks, storm weather, wind, waves, lightning, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3",
52
  "blur, haze, deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers, deformed, distorted, disfigured, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation",
53
  512, 512, 32, "13100322578370451493"
@@ -128,7 +125,6 @@ class AnimateController:
128
 
129
  def animate(
130
  self,
131
- # base_model_dropdown,
132
  prompt_textbox,
133
  negative_prompt_textbox,
134
  width_slider,
@@ -196,14 +192,13 @@ def ui():
196
  gr.Markdown(
197
  """
198
  ### Quick Start
199
- 1. Select desired `Base DreamBooth Model`.
200
- 2. Provide `Prompt` and `Negative Prompt` for each model. You are encouraged to refer to each model's webpage on CivitAI to learn how to write prompts for them. Below are the DreamBooth models in this demo. Click to visit their homepage.
201
  - [`toonyou_beta3.safetensors`](https://civitai.com/models/30240?modelVersionId=78775)
202
  - [`epiCRealismNatural.safetensors`](https://civitai.com/models/25694/epicrealism)
203
- 3. Select 'Length' to set the length of the generated video.
204
  (When you are working with ComfyUI try all possible length, with different motion_scale)
205
- 4. Click `Generate`, wait for ~2 min, and enjoy.
206
- 5. In order to effectively utilize 'lt_long_mm_16_64_frames' model, it is highly recommended to use the ComfyUI interface, which enables to easily increase 'motion_scale' parameter and facilitates using the model in a video-to-video context.
207
  """
208
  )
209
  with gr.Row():
@@ -235,7 +230,7 @@ def ui():
235
  result_video = gr.Video( label="Generated Animation", interactive=False )
236
  json_config = gr.Json( label="Config", value=None )
237
 
238
- inputs = [base_model_dropdown, prompt_textbox, negative_prompt_textbox, width_slider, height_slider, video_length, seed_textbox]
239
 
240
  outputs = [result_video, json_config]
241
 
 
33
  examples = [
34
  # 12-EpicRealism
35
  [
 
36
  "photo of coastline, rocks, storm weather, wind, waves, lightning, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3",
37
  "blur, haze, deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers, deformed, distorted, disfigured, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation",
38
  512, 512, 32, "1490157606650685400"
39
  ],
40
  # 2-EpicRealism
41
  [
 
42
  "a young man is dancing in a paris nice street",
43
  "wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation render, illustration, deformed, distorted, disfigured, doll, poorly drawn, bad anatomy, wrong anatomy deformed, naked, nude, breast (worst quality low quality: 1.4)",
44
  512, 512, 32, "1"
45
  ],
46
  # 3-EpicRealism
47
  [
 
48
  "photo of coastline, rocks, storm weather, wind, waves, lightning, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3",
49
  "blur, haze, deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime, mutated hands and fingers, deformed, distorted, disfigured, poorly drawn, bad anatomy, wrong anatomy, extra limb, missing limb, floating limbs, disconnected limbs, mutation, mutated, ugly, disgusting, amputation",
50
  512, 512, 32, "13100322578370451493"
 
125
 
126
  def animate(
127
  self,
 
128
  prompt_textbox,
129
  negative_prompt_textbox,
130
  width_slider,
 
192
  gr.Markdown(
193
  """
194
  ### Quick Start
195
+ 1. Provide `Prompt` and `Negative Prompt` for each model. You are encouraged to refer to each model's webpage on CivitAI to learn how to write prompts for them. Below are the DreamBooth models in this demo. Click to visit their homepage.
 
196
  - [`toonyou_beta3.safetensors`](https://civitai.com/models/30240?modelVersionId=78775)
197
  - [`epiCRealismNatural.safetensors`](https://civitai.com/models/25694/epicrealism)
198
+ 2. Select 'Length' to set the length of the generated video.
199
  (When you are working with ComfyUI try all possible length, with different motion_scale)
200
+ 3. Click `Generate`, wait for ~2 min, and enjoy.
201
+ 4. In order to effectively utilize 'lt_long_mm_16_64_frames' model, it is highly recommended to use the ComfyUI interface, which enables to easily increase 'motion_scale' parameter and facilitates using the model in a video-to-video context.
202
  """
203
  )
204
  with gr.Row():
 
230
  result_video = gr.Video( label="Generated Animation", interactive=False )
231
  json_config = gr.Json( label="Config", value=None )
232
 
233
+ inputs = [prompt_textbox, negative_prompt_textbox, width_slider, height_slider, video_length, seed_textbox]
234
 
235
  outputs = [result_video, json_config]
236