Update app.py
Browse files
app.py
CHANGED
|
@@ -345,7 +345,7 @@ def build_ui():
|
|
| 345 |
model_name = gr.Dropdown(["x4plus", "x4plus-anime", "x2plus"], value="x4plus", label="Model")
|
| 346 |
scale = gr.Dropdown([2, 4], value=4, label="Output scale")
|
| 347 |
with gr.Row():
|
| 348 |
-
tile = gr.Number(value=0, label="Tile size (0 = auto)
|
| 349 |
precision = gr.Dropdown(["auto", "half", "full"], value="auto", label="Precision (GPU=half, CPU=full)")
|
| 350 |
|
| 351 |
run_btn = gr.Button("Run: Extract → (Upscale) → ZIP", variant="primary")
|
|
|
|
| 345 |
model_name = gr.Dropdown(["x4plus", "x4plus-anime", "x2plus"], value="x4plus", label="Model")
|
| 346 |
scale = gr.Dropdown([2, 4], value=4, label="Output scale")
|
| 347 |
with gr.Row():
|
| 348 |
+
tile = gr.Number(value=0, label="Tile size (0 = auto)) # tiling reduces RAM; try 256/512 on GPU, 0 for auto
|
| 349 |
precision = gr.Dropdown(["auto", "half", "full"], value="auto", label="Precision (GPU=half, CPU=full)")
|
| 350 |
|
| 351 |
run_btn = gr.Button("Run: Extract → (Upscale) → ZIP", variant="primary")
|