mkoot007 commited on
Commit
7129072
1 Parent(s): 3e2f314

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
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
 
 
1
  import gradio as gr
2
  from diffusers import StableDiffusionPipeline
3
+ import torch
4
  model_id = "prompthero/openjourney"
5
  pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float32)
6