Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def transformation(image):
|
|
42 |
ImageLoader.save_compare(inputs, preds, 'scaleed_2x_compare.png')
|
43 |
print("ok2")
|
44 |
#prednumpy=preds.detach().numpy()
|
45 |
-
prednumpy=T.ToPILImage(preds)
|
46 |
print('pnump',type(prednumpy))
|
47 |
print('predtype',type(preds))
|
48 |
print('ok3')
|
|
|
42 |
ImageLoader.save_compare(inputs, preds, 'scaleed_2x_compare.png')
|
43 |
print("ok2")
|
44 |
#prednumpy=preds.detach().numpy()
|
45 |
+
prednumpy=T.ToPILImage()(preds)
|
46 |
print('pnump',type(prednumpy))
|
47 |
print('predtype',type(preds))
|
48 |
print('ok3')
|