alfredplpl
commited on
Commit
•
7dfd19e
1
Parent(s):
62e0cf8
Update app.py
Browse files
app.py
CHANGED
@@ -161,7 +161,7 @@ with gr.Blocks(css=css) as demo:
|
|
161 |
<h1>Cool Japan Diffusion 2.1.2 Beta</h1>
|
162 |
</div>
|
163 |
<p>
|
164 |
-
Demo for <a href="https://huggingface.co/aipicasso/cool-japan-diffusion-2-1-2-beta">Cool Japan Diffusion 2.1.2 Beta</a>
|
165 |
</p>
|
166 |
<p>
|
167 |
sample : Click "Generate" button without any prompts.
|
@@ -172,9 +172,6 @@ with gr.Blocks(css=css) as demo:
|
|
172 |
<p>
|
173 |
sample prompt2 : boy, school uniform
|
174 |
</p>
|
175 |
-
<p>
|
176 |
-
<a href="https://alfredplpl.hatenablog.com/entry/2023/01/11/182146">日本語の取扱説明書</a>.
|
177 |
-
</p>
|
178 |
Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU 🥶</b>. For faster inference it is recommended to <b>upgrade to GPU in <a href='https://huggingface.co/spaces/akhaliq/cool-japan-diffusion-2-1-0/settings'>Settings</a></b>"} <br>
|
179 |
<a style="display:inline-block" href="https://huggingface.co/spaces/aipicasso/cool-japan-diffusion-latest-demo?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a> to say goodbye from waiting for the generating.
|
180 |
</div>
|
@@ -223,12 +220,5 @@ with gr.Blocks(css=css) as demo:
|
|
223 |
prompt.submit(inference, inputs=inputs, outputs=outputs)
|
224 |
generate.click(inference, inputs=inputs, outputs=outputs,api_name="generate")
|
225 |
|
226 |
-
gr.HTML("""
|
227 |
-
<div style="border-top: 1px solid #303030;">
|
228 |
-
<br>
|
229 |
-
<p>This space was created using <a href="https://huggingface.co/spaces/anzorq/sd-space-creator">SD Space Creator</a>.</p>
|
230 |
-
</div>
|
231 |
-
""")
|
232 |
-
|
233 |
demo.queue(concurrency_count=1)
|
234 |
demo.launch()
|
|
|
161 |
<h1>Cool Japan Diffusion 2.1.2 Beta</h1>
|
162 |
</div>
|
163 |
<p>
|
164 |
+
Demo for <a href="https://huggingface.co/aipicasso/cool-japan-diffusion-2-1-2-beta">Cool Japan Diffusion 2.1.2 Beta</a> .<br>
|
165 |
</p>
|
166 |
<p>
|
167 |
sample : Click "Generate" button without any prompts.
|
|
|
172 |
<p>
|
173 |
sample prompt2 : boy, school uniform
|
174 |
</p>
|
|
|
|
|
|
|
175 |
Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU 🥶</b>. For faster inference it is recommended to <b>upgrade to GPU in <a href='https://huggingface.co/spaces/akhaliq/cool-japan-diffusion-2-1-0/settings'>Settings</a></b>"} <br>
|
176 |
<a style="display:inline-block" href="https://huggingface.co/spaces/aipicasso/cool-japan-diffusion-latest-demo?duplicate=true"><img src="https://bit.ly/3gLdBN6" alt="Duplicate Space"></a> to say goodbye from waiting for the generating.
|
177 |
</div>
|
|
|
220 |
prompt.submit(inference, inputs=inputs, outputs=outputs)
|
221 |
generate.click(inference, inputs=inputs, outputs=outputs,api_name="generate")
|
222 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
223 |
demo.queue(concurrency_count=1)
|
224 |
demo.launch()
|