ovi054 commited on
Commit
6bb6da9
·
verified ·
1 Parent(s): 888b161

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -5,6 +5,7 @@ def upscale_image(image):
5
  client = Client("doevent/Face-Real-ESRGAN")
6
  result = client.predict(
7
  # image=handle_file(image), # Directly pass the image
 
8
  size="4x",
9
  api_name="/predict"
10
  )
 
5
  client = Client("doevent/Face-Real-ESRGAN")
6
  result = client.predict(
7
  # image=handle_file(image), # Directly pass the image
8
+ image,
9
  size="4x",
10
  api_name="/predict"
11
  )