metek7 commited on
Commit
764333d
Β·
verified Β·
1 Parent(s): b9cc1bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1,6 +1,6 @@
1
 
2
- !pip install diffusers
3
- !pip install transformers
4
 
5
  model_id = "runwayml/stable-diffusion-v1-5"
6
  sd_pipeline = StableDiffusionPipeline.from_pretrained(model_id,
@@ -31,10 +31,10 @@ sd_image.save("./llama.jpg")
31
 
32
 
33
 
34
- !pip install gradio
35
- !pip install h5py
36
- !pip install typing-extensions
37
- !pip install wheel
38
  import gradio as gr
39
 
40
  def get_completion(prompt):
 
1
 
2
+ pip install diffusers
3
+ pip install transformers
4
 
5
  model_id = "runwayml/stable-diffusion-v1-5"
6
  sd_pipeline = StableDiffusionPipeline.from_pretrained(model_id,
 
31
 
32
 
33
 
34
+ pip install gradio
35
+ pip install h5py
36
+ pip install typing-extensions
37
+ pip install wheel
38
  import gradio as gr
39
 
40
  def get_completion(prompt):