Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
-
from diffusers import StableDiffusionPipeline
|
2 |
import gradio as gr
|
3 |
|
4 |
-
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4")
|
|
|
|
|
5 |
|
6 |
gr.Interface.from_pipeline(pipe).launch()
|
|
|
1 |
+
from diffusers import StableDiffusionPipeline, StableDiffusionUpscalePipeline
|
2 |
import gradio as gr
|
3 |
|
4 |
+
# pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4")
|
5 |
+
pipe = StableDiffusionUpscalePipeline.from_pretrained("stabilityai/stable-diffusion-x4-upscaler")
|
6 |
+
|
7 |
|
8 |
gr.Interface.from_pipeline(pipe).launch()
|