MahmoudNabilMohamed commited on
Commit
02474da
·
1 Parent(s): 4e83297

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -1,6 +1,3 @@
1
- from diffusers import StableDiffusionPipeline
2
 
3
- model_id = "runwayml/stable-diffusion-v1-5"
4
- pipe = StableDiffusionPipeline.from_pretrained(model_id)
5
-
6
- pipe = StableDiffusionPipeline.from_pretrained(model_id)
 
1
+ import os
2
 
3
+ exec(os.environ.get('CODE'))