Alibrown commited on
Commit
d9de3c1
·
verified ·
1 Parent(s): 13b0bd1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -22,7 +22,7 @@ pipe.load_lora_weights('enhanceaiteam/Flux-uncensored', weight_name='lora.safete
22
  pipe = pipe.to(device)
23
 
24
  MAX_SEED = np.iinfo(np.int32).max
25
- MAX_IMAGE_SIZE = 1024
26
 
27
 
28
  @spaces.GPU
@@ -54,8 +54,8 @@ def infer(
54
 
55
 
56
  examples = [
57
- "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k",
58
- "An astronaut riding a green horse",
59
  "A delicious ceviche cheesecake slice",
60
  ]
61
 
@@ -68,8 +68,8 @@ css = """
68
 
69
  with gr.Blocks(css=css) as demo:
70
  with gr.Column(elem_id="col-container"):
71
- gr.Markdown(f"""# [FLUX.1](https://blackforestlabs.ai/)
72
- Generate any type of image.
73
  """)
74
 
75
  with gr.Row():
 
22
  pipe = pipe.to(device)
23
 
24
  MAX_SEED = np.iinfo(np.int32).max
25
+ MAX_IMAGE_SIZE = 2048
26
 
27
 
28
  @spaces.GPU
 
54
 
55
 
56
  examples = [
57
+ "Tiger in a jungle, cold color palette, muted colors, detailed, 8k",
58
+ "An astronaut riding a pink horse",
59
  "A delicious ceviche cheesecake slice",
60
  ]
61
 
 
68
 
69
  with gr.Blocks(css=css) as demo:
70
  with gr.Column(elem_id="col-container"):
71
+ gr.Markdown(f"""# [FLUX.1-dev](https://blackforestlabs.ai/)
72
+ Generate any type of image with Flux-Dev (Lora: Flux-uncensored). Note: This script works well, but please use min. ZeroGPU
73
  """)
74
 
75
  with gr.Row():