Spaces:
Runtime error
Runtime error
Commit
•
613cde2
1
Parent(s):
b3febd2
Add application file
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import gradio as gr
|
|
3 |
import torch
|
4 |
from diffusers import StableDiffusionPipeline, EulerDiscreteScheduler
|
5 |
|
|
|
6 |
model_id = "stabilityai/stable-diffusion-2"
|
7 |
|
8 |
scheduler = EulerDiscreteScheduler.from_pretrained(model_id, subfolder="scheduler")
|
|
|
3 |
import torch
|
4 |
from diffusers import StableDiffusionPipeline, EulerDiscreteScheduler
|
5 |
|
6 |
+
|
7 |
model_id = "stabilityai/stable-diffusion-2"
|
8 |
|
9 |
scheduler = EulerDiscreteScheduler.from_pretrained(model_id, subfolder="scheduler")
|