Spaces:
Runtime error
Runtime error
williamberman
commited on
Commit
β’
efcf16b
1
Parent(s):
b8d3c8f
fixes
Browse files- .gitignore +2 -0
- README.md +11 -0
- app.py +1 -1
.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
gradio_cached_examples
|
2 |
+
flagged
|
README.md
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: controlnet
|
3 |
+
emoji: π
|
4 |
+
colorFrom: gray
|
5 |
+
colorTo: purple
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: 3.9.1
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
license: mit
|
11 |
+
---
|
app.py
CHANGED
@@ -3,7 +3,7 @@ import torch
|
|
3 |
from diffusers import StableDiffusionControlNetPipeline, ControlNetModel, UniPCMultistepScheduler
|
4 |
|
5 |
controlnet = ControlNetModel.from_pretrained(
|
6 |
-
"williamberman/controlnet-
|
7 |
torch_dtype=torch.float16
|
8 |
)
|
9 |
|
|
|
3 |
from diffusers import StableDiffusionControlNetPipeline, ControlNetModel, UniPCMultistepScheduler
|
4 |
|
5 |
controlnet = ControlNetModel.from_pretrained(
|
6 |
+
"williamberman/controlnet-fill50k",
|
7 |
torch_dtype=torch.float16
|
8 |
)
|
9 |
|