swzamir commited on
Commit
7397a8f
1 Parent(s): de56315

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2111.098
41
 
42
  def inference(img,task):
43
  os.system('mkdir temp')
44
- max_res = 256
45
  width, height = img.size
46
  if max(width,height) > max_res:
47
  scale = min(width,height)/max(width,height)
 
41
 
42
  def inference(img,task):
43
  os.system('mkdir temp')
44
+ max_res = 904
45
  width, height = img.size
46
  if max(width,height) > max_res:
47
  scale = min(width,height)/max(width,height)