Spaces:
Running
on
Zero
Running
on
Zero
alfredplpl
commited on
Commit
•
2e1dad6
1
Parent(s):
0245b21
Update app.py
Browse files
app.py
CHANGED
@@ -24,6 +24,7 @@ pipe = StableDiffusionXLPipeline.from_pretrained(
|
|
24 |
|
25 |
|
26 |
pipe=pipe.to("cuda")
|
|
|
27 |
#pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|
28 |
|
29 |
token_num=65
|
@@ -165,6 +166,7 @@ with gr.Blocks(css=css) as demo:
|
|
165 |
<div class="main-div">
|
166 |
<div>
|
167 |
<h1>Emi Demo</h1>
|
|
|
168 |
<h2>
|
169 |
Other Demos:
|
170 |
<a href="https://e5b26b1151bf4a7fe2.gradio.live"> | Emi Demo (Sub) | </a>
|
@@ -172,6 +174,7 @@ with gr.Blocks(css=css) as demo:
|
|
172 |
<a href="https://07f0307923ad05d680.gradio.live"> Emix Demo 1 |</a>
|
173 |
<a href="https://471d8ebdaf5d5c5aa5.gradio.live/"> Emix Demo 2 |</a>
|
174 |
</h2>
|
|
|
175 |
</div>
|
176 |
<p>
|
177 |
Demo for <a href="https://huggingface.co/aipicasso/emi">Emi</a><br>
|
|
|
24 |
|
25 |
|
26 |
pipe=pipe.to("cuda")
|
27 |
+
pipe.enable_freeu(s1=0.6, s2=0.4, b1=1.1, b2=1.2)
|
28 |
#pipe.unet = torch.compile(pipe.unet, mode="reduce-overhead", fullgraph=True)
|
29 |
|
30 |
token_num=65
|
|
|
166 |
<div class="main-div">
|
167 |
<div>
|
168 |
<h1>Emi Demo</h1>
|
169 |
+
<!--
|
170 |
<h2>
|
171 |
Other Demos:
|
172 |
<a href="https://e5b26b1151bf4a7fe2.gradio.live"> | Emi Demo (Sub) | </a>
|
|
|
174 |
<a href="https://07f0307923ad05d680.gradio.live"> Emix Demo 1 |</a>
|
175 |
<a href="https://471d8ebdaf5d5c5aa5.gradio.live/"> Emix Demo 2 |</a>
|
176 |
</h2>
|
177 |
+
-->
|
178 |
</div>
|
179 |
<p>
|
180 |
Demo for <a href="https://huggingface.co/aipicasso/emi">Emi</a><br>
|