Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -110,7 +110,7 @@ def test_upscale(input_image):
|
|
| 110 |
print(f"Testing with model: {model_name}")
|
| 111 |
|
| 112 |
# Call the inference API - use task-based approach
|
| 113 |
-
result = client.
|
| 114 |
image=image_bytes,
|
| 115 |
model=model_name
|
| 116 |
)
|
|
|
|
| 110 |
print(f"Testing with model: {model_name}")
|
| 111 |
|
| 112 |
# Call the inference API - use task-based approach
|
| 113 |
+
result = client.image_to_image(
|
| 114 |
image=image_bytes,
|
| 115 |
model=model_name
|
| 116 |
)
|