Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ def inference(image, size):
|
|
| 53 |
model8.load_weights('weights/RealESRGAN_x8.pth', download=False)
|
| 54 |
result = model2.predict(image.convert('RGB'))
|
| 55 |
|
| 56 |
-
print(f"Image size ({device}): {size}, time: {
|
| 57 |
return result
|
| 58 |
|
| 59 |
|
|
|
|
| 53 |
model8.load_weights('weights/RealESRGAN_x8.pth', download=False)
|
| 54 |
result = model2.predict(image.convert('RGB'))
|
| 55 |
|
| 56 |
+
print(f"Image size ({device}): {size}, time: {td(seconds=int(time.time() - start_load))} ... OK")
|
| 57 |
return result
|
| 58 |
|
| 59 |
|