Spaces:
Thafx
/
Runtime error

Thafx commited on
Commit
e5155fe
·
1 Parent(s): 8b577e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -14
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_V2.0'
7
- prefix = 'RAW photo,'
8
 
9
  scheduler = DPMSolverMultistepScheduler.from_pretrained(model_id, subfolder="scheduler")
10
 
@@ -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;">📷 Realistic Vision V2.0 📸</h1>
111
  </div>
112
  <p>
113
- Demo for <a href="https://huggingface.co/SG161222/Realistic_Vision_V2.0">Realistic Vision V2.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>
117
  <p>Please use the prompt template below to get an example of the desired generation results:
@@ -119,22 +119,17 @@ 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>
130
 
131
  <br>
132
  <b>Negative Prompt</b>:
133
  <details><code>
134
- (deformed iris, deformed pupils, semi-realistic, cgi, 3d, render, sketch, cartoon, drawing, anime:1.4), text, close up, cropped, out of frame, worst quality, <br>
135
- low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, <br>
136
- dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, <br>
137
- extra legs, fused fingers, too many fingers, long neck
138
  </code></details>
139
 
140
  <br>
 
3
  import torch
4
  from PIL import Image
5
 
6
+ model_id = 'Cosmo-Hug/FeverDream'
7
+ prefix = ''
8
 
9
  scheduler = DPMSolverMultistepScheduler.from_pretrained(model_id, subfolder="scheduler")
10
 
 
107
  f"""
108
  <div class="main-div">
109
  <div>
110
+ <h1 style="color:orange;">📷 Fever Dream 📸</h1>
111
  </div>
112
  <p>
113
+ Demo for <a href="https://huggingface.co/Cosmo-Hug/FeverDream">Fever Dream</a>
114
+ Stable Diffusion model by <a href="https://huggingface.co/Cosmo-Hug/"><abbr title="Cosmo-Hug">Cosmo-Hug</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:
 
119
 
120
  <b>Prompt</b>:
121
  <details><code>
 
 
 
122
  <q><i>
123
+ Example: close up of a young woman wearing a black and gold liquid splash dress, pretty face, detailed eyes, soft lips, floating in outer space and planets in the background,
124
+ fluid, wet, dripping, waxy, smooth, realistic, octane render
125
  </i></q>
126
  </code></details>
127
 
128
  <br>
129
  <b>Negative Prompt</b>:
130
  <details><code>
131
+ two, few, couple, group, lowres, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame,
132
+ dehydrated, extra limbs, clone, disfigured, gross, malformed, extra arms, extra legs, fingers, long neck, username, watermark, signature
 
 
133
  </code></details>
134
 
135
  <br>