Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
from diffusers import StableDiffusionPipeline
|
|
|
|
| 3 |
|
| 4 |
# Load the model and set up the pipeline
|
| 5 |
model_id = "prompthero/openjourney"
|
|
|
|
| 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"
|