prithivMLmods commited on
Commit
9ebbc57
·
verified ·
1 Parent(s): 53ab5b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -62,10 +62,10 @@ orange_red_theme = OrangeRedTheme()
62
  MAX_SEED = np.iinfo(np.int32).max
63
 
64
  ADAPTER_SPECS = {
65
- "American-Comic": {
66
- "repo": "valiantcat/FLUX.2-klein-AC-Style-LORA",
67
- "weights": "flux2_klein_lowres.safetensors",
68
- "adapter_name": "american-comic"
69
  },
70
  "Klein-Delight-Style": {
71
  "repo": "linoyts/Flux2-Klein-Delight-LoRA",
@@ -229,7 +229,7 @@ with gr.Blocks() as demo:
229
  gr.Examples(
230
  examples=[
231
  ["examples/1.jpg", "Relight the image to remove all existing lighting conditions and replace them with neutral, uniform illumination. Apply soft, evenly distributed lighting with no directional shadows, no harsh highlights, and no dramatic contrast. Maintain the original identity of all subjects exactly—preserve facial structure, skin tone, proportions, expressions, hair, clothing, and textures. Do not alter pose, camera angle, background geometry, or image composition. Lighting should appear balanced, and studio-neutral, similar to diffuse overcast or a soft lightbox setup. Ensure consistent exposure across the entire image with realistic depth and subtle shading only where necessary for form.Relight the image to remove all existing lighting conditions and replace them with neutral, uniform illumination. Apply soft, evenly distributed lighting with no directional shadows, no harsh highlights, and no dramatic contrast. Maintain the original identity of all subjects exactly—preserve facial structure, skin tone, proportions, expressions, hair, clothing, and textures. Do not alter pose, camera angle, background geometry, or image composition. Lighting should appear balanced, and studio-neutral, similar to diffuse overcast or a soft lightbox setup. Ensure consistent exposure across the entire image with realistic depth and subtle shading only where necessary for form.", "Klein-Delight-Style"],
232
- ["examples/portrait.jpg", "cinematic lighting, high contrast", "American-Comic"],
233
  ],
234
  inputs=[input_image, prompt, lora_adapter],
235
  outputs=[output_image, used_seed],
 
62
  MAX_SEED = np.iinfo(np.int32).max
63
 
64
  ADAPTER_SPECS = {
65
+ "h4rd8are": {
66
+ "repo": "siraxe/h4rd8are_klein9b",
67
+ "weights": "turn_to_h4rd8are_klein9b.safetensors",
68
+ "adapter_name": "h4rd8are_klein9b"
69
  },
70
  "Klein-Delight-Style": {
71
  "repo": "linoyts/Flux2-Klein-Delight-LoRA",
 
229
  gr.Examples(
230
  examples=[
231
  ["examples/1.jpg", "Relight the image to remove all existing lighting conditions and replace them with neutral, uniform illumination. Apply soft, evenly distributed lighting with no directional shadows, no harsh highlights, and no dramatic contrast. Maintain the original identity of all subjects exactly—preserve facial structure, skin tone, proportions, expressions, hair, clothing, and textures. Do not alter pose, camera angle, background geometry, or image composition. Lighting should appear balanced, and studio-neutral, similar to diffuse overcast or a soft lightbox setup. Ensure consistent exposure across the entire image with realistic depth and subtle shading only where necessary for form.Relight the image to remove all existing lighting conditions and replace them with neutral, uniform illumination. Apply soft, evenly distributed lighting with no directional shadows, no harsh highlights, and no dramatic contrast. Maintain the original identity of all subjects exactly—preserve facial structure, skin tone, proportions, expressions, hair, clothing, and textures. Do not alter pose, camera angle, background geometry, or image composition. Lighting should appear balanced, and studio-neutral, similar to diffuse overcast or a soft lightbox setup. Ensure consistent exposure across the entire image with realistic depth and subtle shading only where necessary for form.", "Klein-Delight-Style"],
232
+ ["examples/portrait.jpg", "cinematic lighting, high contrast", "h4rd8are"],
233
  ],
234
  inputs=[input_image, prompt, lora_adapter],
235
  outputs=[output_image, used_seed],