Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
import torch
|
4 |
from PIL import Image
|
5 |
|
6 |
-
model_id = '
|
7 |
prefix = ''
|
8 |
|
9 |
scheduler = DPMSolverMultistepScheduler.from_pretrained(model_id, subfolder="scheduler")
|
@@ -107,11 +107,11 @@ with gr.Blocks(css=css) as demo:
|
|
107 |
f"""
|
108 |
<div class="main-div">
|
109 |
<div>
|
110 |
-
<h1 style="color:orange;">📷
|
111 |
</div>
|
112 |
<p>
|
113 |
-
Demo for <a href="https://huggingface.co/
|
114 |
-
Stable Diffusion model by <a href="https://huggingface.co/
|
115 |
Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU ⚡</b>"}.
|
116 |
</p>
|
117 |
<p>Please use the prompt template below to get an example of the desired generation results:
|
|
|
3 |
import torch
|
4 |
from PIL import Image
|
5 |
|
6 |
+
model_id = 'SG161222/Paragon_V1.0'
|
7 |
prefix = ''
|
8 |
|
9 |
scheduler = DPMSolverMultistepScheduler.from_pretrained(model_id, subfolder="scheduler")
|
|
|
107 |
f"""
|
108 |
<div class="main-div">
|
109 |
<div>
|
110 |
+
<h1 style="color:orange;">📷 Paragon 📸</h1>
|
111 |
</div>
|
112 |
<p>
|
113 |
+
Demo for <a href="https://huggingface.co/SG161222/Paragon_V1.0">Paragon</a>
|
114 |
+
Stable Diffusion model by <a href="https://huggingface.co/SG161222/"><abbr title="SG161222">SG161222</abbr></a>. {"" if prefix else ""}
|
115 |
Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU ⚡</b>"}.
|
116 |
</p>
|
117 |
<p>Please use the prompt template below to get an example of the desired generation results:
|