Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from diffusers import StableDiffusionPipeline
|
3 |
import torch # Import the torch library
|
4 |
-
|
5 |
-
# Load the model and set up the pipeline
|
6 |
model_id = "prompthero/openjourney"
|
7 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float32)
|
8 |
|
|
|
1 |
import gradio as gr
|
2 |
from diffusers import StableDiffusionPipeline
|
3 |
import torch # Import the torch library
|
|
|
|
|
4 |
model_id = "prompthero/openjourney"
|
5 |
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float32)
|
6 |
|