Spaces:
Running
Running
Update app.py
Browse files
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 |
)
|