GIanlucaRub commited on
Commit
2cdfe71
1 Parent(s): 9d36c88

restored app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -3,8 +3,8 @@ import numpy as np
3
  from math import ceil
4
  from huggingface_hub import from_pretrained_keras
5
 
6
- # model = from_pretrained_keras("GIanlucaRub/doubleResFinal")
7
- model = from_pretrained_keras("GIanlucaRub/autoencoder_model_d_0")
8
 
9
  def double_res(input_image):
10
  input_height = input_image.shape[0]
@@ -58,8 +58,8 @@ def double_res(input_image):
58
 
59
  # predicting all images at once
60
  completed = False
61
- # n = 16
62
- n = 1
63
  while not completed:
64
  try:
65
  print("attempting with "+ str(n))
 
3
  from math import ceil
4
  from huggingface_hub import from_pretrained_keras
5
 
6
+ model = from_pretrained_keras("GIanlucaRub/doubleResFinal")
7
+ # model = from_pretrained_keras("GIanlucaRub/autoencoder_model_d_0")
8
 
9
  def double_res(input_image):
10
  input_height = input_image.shape[0]
 
58
 
59
  # predicting all images at once
60
  completed = False
61
+ n = 16
62
+ # n = 1
63
  while not completed:
64
  try:
65
  print("attempting with "+ str(n))