Kev09 commited on
Commit
74ecf72
1 Parent(s): 95845a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -38,10 +38,14 @@ def transformation(image):
38
  preds = model(inputs)
39
  print('ok1')
40
  # ImageLoader.save_image(preds, './scaled_2x.png')
41
- ImageLoader.save_compare(inputs, preds, './scaled_2x_compare.png')
42
  print("ok2")
43
- #prednumpy=preds.detach().numpy()
44
- return preds
 
 
 
 
45
 
46
 
47
 
 
38
  preds = model(inputs)
39
  print('ok1')
40
  # ImageLoader.save_image(preds, './scaled_2x.png')
41
+ ImageLoader.save_compare(inputs, preds, 'scaleed_2x_compare.png')
42
  print("ok2")
43
+ prednumpy=preds.detach().numpy()
44
+ print('pnump',type(prednumpy))
45
+ print('predtype',preds)
46
+ print('ok3')
47
+
48
+ return prednumpy
49
 
50
 
51