Spaces:
Running
on
Zero
Running
on
Zero
Yjiggfghhjnjj
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -41,6 +41,8 @@ if torch.cuda.is_available():
|
|
41 |
"RunDiffusion/Juggernaut-X-v10",
|
42 |
torch_dtype=torch.float16,
|
43 |
use_safetensors=True,
|
|
|
|
|
44 |
)
|
45 |
#pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
46 |
|
@@ -100,11 +102,8 @@ examples = [
|
|
100 |
css = '''
|
101 |
.gradio-container{max-width: 560px !important}
|
102 |
h1{text-align:center}
|
103 |
-
footer {
|
104 |
-
visibility: hidden
|
105 |
-
}
|
106 |
'''
|
107 |
-
with gr.Blocks(css=css
|
108 |
gr.Markdown(DESCRIPTION)
|
109 |
gr.DuplicateButton(
|
110 |
value="Duplicate Space for private use",
|
|
|
41 |
"RunDiffusion/Juggernaut-X-v10",
|
42 |
torch_dtype=torch.float16,
|
43 |
use_safetensors=True,
|
44 |
+
add_watermarker=False,
|
45 |
+
variant="fp16"
|
46 |
)
|
47 |
#pipe.scheduler = EulerAncestralDiscreteScheduler.from_config(pipe.scheduler.config)
|
48 |
|
|
|
102 |
css = '''
|
103 |
.gradio-container{max-width: 560px !important}
|
104 |
h1{text-align:center}
|
|
|
|
|
|
|
105 |
'''
|
106 |
+
with gr.Blocks(css=css) as demo:
|
107 |
gr.Markdown(DESCRIPTION)
|
108 |
gr.DuplicateButton(
|
109 |
value="Duplicate Space for private use",
|