Spaces:
Running
Running
Update app.py
Browse files
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 =
|
26 |
|
27 |
|
28 |
@spaces.GPU
|
@@ -54,8 +54,8 @@ def infer(
|
|
54 |
|
55 |
|
56 |
examples = [
|
57 |
-
"
|
58 |
-
"An astronaut riding a
|
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():
|