Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,7 @@ st.title(" New App")
|
|
7 |
|
8 |
area = st.text_area("Area",'')
|
9 |
|
10 |
-
|
11 |
-
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", use_auth_token=True)
|
12 |
|
13 |
|
14 |
if len(area) > 5:
|
|
|
7 |
|
8 |
area = st.text_area("Area",'')
|
9 |
|
10 |
+
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4", revision="fp16", torch_dtype=torch.float16)
|
|
|
11 |
|
12 |
|
13 |
if len(area) > 5:
|