Spaces:
Thafx
/
Runtime error

Thafx commited on
Commit
bba5ab8
1 Parent(s): 6dd6b84

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -3,8 +3,8 @@ import gradio as gr
3
  import torch
4
  from PIL import Image
5
 
6
- model_id = 'SG161222/Realistic_Vision_V3.0'
7
- prefix = 'RAW photo,'
8
 
9
  scheduler = DPMSolverMultistepScheduler.from_pretrained(model_id, subfolder="scheduler")
10
 
@@ -110,7 +110,7 @@ with gr.Blocks(css=css) as demo:
110
  <h1 style="color:orange;">📷 Realistic Vision V3.0 📸</h1>
111
  </div>
112
  <p>
113
- Demo for <a href="https://huggingface.co/SG161222/Realistic_Vision_V3.0">Realistic Vision V3.0</a>
114
  Stable Diffusion model by <a href="https://huggingface.co/SG161222/"><abbr title="SG1611222">Eugene</abbr></a>. {"" if prefix else ""}
115
  Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU ⚡</b>"}.
116
  </p>
@@ -119,11 +119,11 @@ with gr.Blocks(css=css) as demo:
119
 
120
  <b>Prompt</b>:
121
  <details><code>
122
- RAW photo, * subject *, (high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3
123
  <br>
124
  <br>
125
  <q><i>
126
- Example: RAW photo, a close up portrait photo of 26 y.o woman in wastelander clothes, long haircut, pale skin, slim body, background is city ruins, <br>
127
  (high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3
128
  </i></q>
129
  </code></details>
 
3
  import torch
4
  from PIL import Image
5
 
6
+ model_id = 'SG161222/Realistic_Vision_V4.0'
7
+ prefix = ','
8
 
9
  scheduler = DPMSolverMultistepScheduler.from_pretrained(model_id, subfolder="scheduler")
10
 
 
110
  <h1 style="color:orange;">📷 Realistic Vision V3.0 📸</h1>
111
  </div>
112
  <p>
113
+ Demo for <a href="https://huggingface.co/SG161222/Realistic_Vision_V4.0">Realistic Vision V4.0</a>
114
  Stable Diffusion model by <a href="https://huggingface.co/SG161222/"><abbr title="SG1611222">Eugene</abbr></a>. {"" if prefix else ""}
115
  Running on {"<b>GPU 🔥</b>" if torch.cuda.is_available() else f"<b>CPU ⚡</b>"}.
116
  </p>
 
119
 
120
  <b>Prompt</b>:
121
  <details><code>
122
+ * subject *, (high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3
123
  <br>
124
  <br>
125
  <q><i>
126
+ Example: a close up portrait photo of 26 y.o woman in wastelander clothes, long haircut, pale skin, slim body, background is city ruins, <br>
127
  (high detailed skin:1.2), 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3
128
  </i></q>
129
  </code></details>