GIanlucaRub commited on
Commit
2474f30
1 Parent(s): eace720

restored app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -17,8 +17,8 @@ def getRequest(date):
17
  return img
18
 
19
 
20
- # model = from_pretrained_keras("GIanlucaRub/doubleResFinal")
21
- model = from_pretrained_keras("GIanlucaRub/autoencoder_model_d_0")
22
 
23
  def double_res(input_image):
24
  input_height = input_image.shape[0]
@@ -72,8 +72,8 @@ def double_res(input_image):
72
 
73
  # predicting all images at once
74
  completed = False
75
- # n = 16
76
- n = 1
77
  while not completed:
78
  try:
79
  print("attempting with "+ str(n))
 
17
  return img
18
 
19
 
20
+ model = from_pretrained_keras("GIanlucaRub/doubleResFinal")
21
+ # model = from_pretrained_keras("GIanlucaRub/autoencoder_model_d_0")
22
 
23
  def double_res(input_image):
24
  input_height = input_image.shape[0]
 
72
 
73
  # predicting all images at once
74
  completed = False
75
+ n = 16
76
+ # n = 1
77
  while not completed:
78
  try:
79
  print("attempting with "+ str(n))