Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import torch
|
|
3 |
import numpy as np
|
4 |
import modin.pandas as pd
|
5 |
from PIL import Image
|
6 |
-
from diffusers import StableCascadeCombinedPipeline
|
7 |
from huggingface_hub import hf_hub_download
|
8 |
|
9 |
device = 'cuda' #if torch.cuda.is_available() else 'cpu'
|
@@ -27,8 +27,7 @@ gr.Interface(fn=genie, inputs=[gr.Textbox(label='What you want the AI to generat
|
|
27 |
gr.Slider(512, 2048, 768, step=128, label='Width'),
|
28 |
gr.Slider(1, maximum=15, value=5, step=.25, label='Guidance Scale'),
|
29 |
gr.Slider(5, maximum=100, value=50, step=5, label='Number of Iterations'),
|
30 |
-
gr.Slider(minimum=0, step=1, maximum=9999999999999999, randomize=True, label='Seed: 0 is Random')
|
31 |
-
gr.Radio(["Yes", "No"], label = 'SD X2 Latent Upscaler?', value="No")],
|
32 |
outputs=gr.Image(label='Generated Image'),
|
33 |
title="Manju Dream Booth V1.9 with SDXL 1.0 Refiner and SD X2 Latent Upscaler - GPU",
|
34 |
description="<br><br><b/>Warning: This Demo is capable of producing NSFW content.",
|
|
|
3 |
import numpy as np
|
4 |
import modin.pandas as pd
|
5 |
from PIL import Image
|
6 |
+
from diffusers import StableCascadeCombinedPipeline
|
7 |
from huggingface_hub import hf_hub_download
|
8 |
|
9 |
device = 'cuda' #if torch.cuda.is_available() else 'cpu'
|
|
|
27 |
gr.Slider(512, 2048, 768, step=128, label='Width'),
|
28 |
gr.Slider(1, maximum=15, value=5, step=.25, label='Guidance Scale'),
|
29 |
gr.Slider(5, maximum=100, value=50, step=5, label='Number of Iterations'),
|
30 |
+
gr.Slider(minimum=0, step=1, maximum=9999999999999999, randomize=True, label='Seed: 0 is Random')]
|
|
|
31 |
outputs=gr.Image(label='Generated Image'),
|
32 |
title="Manju Dream Booth V1.9 with SDXL 1.0 Refiner and SD X2 Latent Upscaler - GPU",
|
33 |
description="<br><br><b/>Warning: This Demo is capable of producing NSFW content.",
|