Update app.py
Browse files
app.py
CHANGED
|
@@ -121,7 +121,6 @@ def get_realesrganer(model_id: str, scale: int, tile: int, half: bool, device: s
|
|
| 121 |
half = (precision == "half") and (device == "cuda")
|
| 122 |
upsampler = get_realesrganer(model_id, scale, tile, half, device=device)
|
| 123 |
|
| 124 |
-
)
|
| 125 |
|
| 126 |
def _ensure_dir(p: Path) -> Path:
|
| 127 |
p.mkdir(parents=True, exist_ok=True); return p
|
|
|
|
| 121 |
half = (precision == "half") and (device == "cuda")
|
| 122 |
upsampler = get_realesrganer(model_id, scale, tile, half, device=device)
|
| 123 |
|
|
|
|
| 124 |
|
| 125 |
def _ensure_dir(p: Path) -> Path:
|
| 126 |
p.mkdir(parents=True, exist_ok=True); return p
|