Commit
·
725d794
1
Parent(s):
d40e27d
Update app.py
Browse files
app.py
CHANGED
@@ -223,7 +223,7 @@ def colorize2(img: Image.Image, model_option: str):
|
|
223 |
model_int = 0
|
224 |
|
225 |
with torch.inference_mode():
|
226 |
-
out2 =
|
227 |
out = sample[0].cpu().numpy().transpose([1,2,0])
|
228 |
out = np.uint8(((out + 1) / 2 * 255).clip(0,255))
|
229 |
|
|
|
223 |
model_int = 0
|
224 |
|
225 |
with torch.inference_mode():
|
226 |
+
out2 = model_net(input)
|
227 |
out = sample[0].cpu().numpy().transpose([1,2,0])
|
228 |
out = np.uint8(((out + 1) / 2 * 255).clip(0,255))
|
229 |
|