Tulsigida commited on
Commit
134db1a
·
1 Parent(s): c057e21

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -10,9 +10,10 @@ from PIL import Image
10
  # Private modules
11
  from authtoken import auth_token
12
 
 
13
  # Download stable diffusion model from Hugging Face
14
  modelid = "CompVis/stable-diffusion-v1-4"
15
- stable_diffusion_model = StableDiffusionPipeline.from_pretrained(modelid, revision="fp16", torch_dtype=torch.float16, use_auth_token=auth_token)
16
 
17
  # Create a Streamlit app
18
  st.set_page_config(
 
10
  # Private modules
11
  from authtoken import auth_token
12
 
13
+
14
  # Download stable diffusion model from Hugging Face
15
  modelid = "CompVis/stable-diffusion-v1-4"
16
+ stable_diffusion_model = StableDiffusionPipeline.from_pretrained(modelid, revision="fp16", dtype=torch.float16, use_auth_token=auth_token)
17
 
18
  # Create a Streamlit app
19
  st.set_page_config(