Dvjc1899 commited on
Commit
24d2ba1
·
1 Parent(s): 3243b25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ import gradio as gr
12
  model = from_pretrained_keras("Dvjc1899/super-resolution")
13
 
14
  def infer(image):
15
- img = Image.fromarray(image)
16
  img = img.resize((300, 300))
17
  ycbcr = img.convert("YCbCr")
18
  y, cb, cr = ycbcr.split()
 
12
  model = from_pretrained_keras("Dvjc1899/super-resolution")
13
 
14
  def infer(image):
15
+ img = Image.fromarray(image)
16
  img = img.resize((300, 300))
17
  ycbcr = img.convert("YCbCr")
18
  y, cb, cr = ycbcr.split()