Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ def genie (Model, Prompt, negative_prompt, height, width, scale, steps, seed):
|
|
29 |
|
30 |
torch.cuda.empty_cache()
|
31 |
torch.cuda.max_memory_allocated(device=device)
|
32 |
-
pipe = DiffusionPipeline.from_pretrained("circulus/canvers-fusionXL-v1", torch_dtype=torch.float16
|
33 |
pipe.enable_xformers_memory_efficient_attention()
|
34 |
pipe = pipe.to(device)
|
35 |
torch.cuda.empty_cache()
|
@@ -51,9 +51,9 @@ gr.Interface(fn=genie, inputs=[gr.Radio(["SD3", "FXL"], value='SD3', label='Choo
|
|
51 |
gr.Slider(512, 1536, 1024, step=128, label='Height'),
|
52 |
gr.Slider(512, 1536, 1024, step=128, label='Width'),
|
53 |
gr.Slider(.5, maximum=15, value=7, step=.25, label='Guidance Scale'),
|
54 |
-
gr.Slider(10, maximum=
|
55 |
gr.Slider(minimum=0, step=1, maximum=9999999999999999, randomize=True, label='Seed: 0 is Random')],
|
56 |
outputs=gr.Image(label='Generated Image'),
|
57 |
-
title="Manju Dream Booth V2.
|
58 |
description="<br><br><b/>Warning: This Demo is capable of producing NSFW content.",
|
59 |
article = "If You Enjoyed this Demo and would like to Donate, you can send any amount to any of these Wallets. <br><br>SHIB (BEP20): 0xbE8f2f3B71DFEB84E5F7E3aae1909d60658aB891 <br>PayPal: https://www.paypal.me/ManjushriBodhisattva <br>ETH: 0xbE8f2f3B71DFEB84E5F7E3aae1909d60658aB891 <br>DOGE: D9QdVPtcU1EFH8jDC8jhU9uBcSTqUiA8h6<br><br>Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>").launch(debug=True)
|
|
|
29 |
|
30 |
torch.cuda.empty_cache()
|
31 |
torch.cuda.max_memory_allocated(device=device)
|
32 |
+
pipe = DiffusionPipeline.from_pretrained("circulus/canvers-fusionXL-v1", torch_dtype=torch.float16)
|
33 |
pipe.enable_xformers_memory_efficient_attention()
|
34 |
pipe = pipe.to(device)
|
35 |
torch.cuda.empty_cache()
|
|
|
51 |
gr.Slider(512, 1536, 1024, step=128, label='Height'),
|
52 |
gr.Slider(512, 1536, 1024, step=128, label='Width'),
|
53 |
gr.Slider(.5, maximum=15, value=7, step=.25, label='Guidance Scale'),
|
54 |
+
gr.Slider(10, maximum=50, value=25, step=5, label='Number of Prior Iterations'),
|
55 |
gr.Slider(minimum=0, step=1, maximum=9999999999999999, randomize=True, label='Seed: 0 is Random')],
|
56 |
outputs=gr.Image(label='Generated Image'),
|
57 |
+
title="Manju Dream Booth V2.4 with Stable Diffusion 3 & Fusion XL - GPU",
|
58 |
description="<br><br><b/>Warning: This Demo is capable of producing NSFW content.",
|
59 |
article = "If You Enjoyed this Demo and would like to Donate, you can send any amount to any of these Wallets. <br><br>SHIB (BEP20): 0xbE8f2f3B71DFEB84E5F7E3aae1909d60658aB891 <br>PayPal: https://www.paypal.me/ManjushriBodhisattva <br>ETH: 0xbE8f2f3B71DFEB84E5F7E3aae1909d60658aB891 <br>DOGE: D9QdVPtcU1EFH8jDC8jhU9uBcSTqUiA8h6<br><br>Code Monkey: <a href=\"https://huggingface.co/Manjushri\">Manjushri</a>").launch(debug=True)
|