Fabrice-TIERCELIN commited on
Commit
ecdddbe
·
verified ·
1 Parent(s): dd40f6c

Update interface

Browse files
Files changed (1) hide show
  1. app.py +6 -5
app.py CHANGED
@@ -998,7 +998,7 @@ with block:
998
  use_teacache = gr.Checkbox(label='Use TeaCache', value=False, info='Faster speed, but often makes hands and fingers slightly worse.')
999
  no_resize = gr.Checkbox(label='Force Original Video Resolution (no Resizing)', value=False, info='Might run out of VRAM (720p requires > 24GB VRAM).')
1000
 
1001
- n_prompt = gr.Textbox(label="Negative Prompt", value="Missing arm, unrealistic position, blurred, blurry", info='Requires using normal CFG (undistilled) instead of Distilled (set Distilled=1 and CFG > 1).')
1002
  randomize_seed = gr.Checkbox(label='Randomize seed', value=True, info='If checked, the seed is always different')
1003
  seed = gr.Slider(label="Seed", minimum=0, maximum=np.iinfo(np.int32).max, step=1, randomize=True)
1004
 
@@ -1063,7 +1063,7 @@ with block:
1063
  "./img_examples/Example1.png", # input_image
1064
  "View of the sea as far as the eye can see, from the seaside, a piece of land is barely visible on the horizon at the middle, the sky is radiant, reflections of the sun in the water, photorealistic, realistic, intricate details, 8k, insanely detailed",
1065
  "image", # generation_mode
1066
- "Missing arm, unrealistic position, blurred, blurry", # n_prompt
1067
  True, # randomize_seed
1068
  42, # seed
1069
  1, # total_second_length
@@ -1080,7 +1080,7 @@ with block:
1080
  "./img_examples/Example1.png", # input_image
1081
  "A dolphin emerges from the water, photorealistic, realistic, intricate details, 8k, insanely detailed",
1082
  "image", # generation_mode
1083
- "Missing arm, unrealistic position, blurred, blurry", # n_prompt
1084
  True, # randomize_seed
1085
  42, # seed
1086
  1, # total_second_length
@@ -1184,6 +1184,7 @@ with block:
1184
  inputs=[input_image_debug, input_video_debug, prompt_debug, total_second_length_debug],
1185
  outputs=[]
1186
  )
 
 
1187
 
1188
- block.launch(mcp_server=True, ssr_mode=False)
1189
- [text_to_video_hint, input_image, input_video, start_button, start_button_video, no_resize, batch, resolution, num_clean_frames, vae_batch] = handle_generation_mode_change([generation_mode])
 
998
  use_teacache = gr.Checkbox(label='Use TeaCache', value=False, info='Faster speed, but often makes hands and fingers slightly worse.')
999
  no_resize = gr.Checkbox(label='Force Original Video Resolution (no Resizing)', value=False, info='Might run out of VRAM (720p requires > 24GB VRAM).')
1000
 
1001
+ n_prompt = gr.Textbox(label="Negative Prompt", value="Missing arm, unrealistic position, impossible contortion, blurred, blurry", info='Requires using normal CFG (undistilled) instead of Distilled (set Distilled=1 and CFG > 1).')
1002
  randomize_seed = gr.Checkbox(label='Randomize seed', value=True, info='If checked, the seed is always different')
1003
  seed = gr.Slider(label="Seed", minimum=0, maximum=np.iinfo(np.int32).max, step=1, randomize=True)
1004
 
 
1063
  "./img_examples/Example1.png", # input_image
1064
  "View of the sea as far as the eye can see, from the seaside, a piece of land is barely visible on the horizon at the middle, the sky is radiant, reflections of the sun in the water, photorealistic, realistic, intricate details, 8k, insanely detailed",
1065
  "image", # generation_mode
1066
+ "Blurred, blurry", # n_prompt
1067
  True, # randomize_seed
1068
  42, # seed
1069
  1, # total_second_length
 
1080
  "./img_examples/Example1.png", # input_image
1081
  "A dolphin emerges from the water, photorealistic, realistic, intricate details, 8k, insanely detailed",
1082
  "image", # generation_mode
1083
+ "Blurred, blurry", # n_prompt
1084
  True, # randomize_seed
1085
  42, # seed
1086
  1, # total_second_length
 
1184
  inputs=[input_image_debug, input_video_debug, prompt_debug, total_second_length_debug],
1185
  outputs=[]
1186
  )
1187
+
1188
+ [text_to_video_hint, input_image, input_video, start_button, start_button_video, no_resize, batch, resolution, num_clean_frames, vae_batch] = handle_generation_mode_change([generation_mode])
1189
 
1190
+ block.launch(mcp_server=True, ssr_mode=False)