Spaces:
Running
on
Zero
Running
on
Zero
rewrite explanations on task_name arg so gradio mcp instructional modal includes every cases
Browse files
app.py
CHANGED
@@ -413,10 +413,7 @@ def infer(lq_sequence, task_name, mask, seed, progress=gr.Progress(track_tqdm=Tr
|
|
413 |
|
414 |
Args:
|
415 |
lq_sequence: The input low-quality video file (can be a path or Gradio video object).
|
416 |
-
task_name: A list of selected restoration tasks to perform. Choices include,
|
417 |
-
- "BFR" for Blind Face Restoration
|
418 |
-
- "Colorization" for adding color to grayscale footage
|
419 |
-
- "Inpainting" for filling in missing or corrupted regions using a mask
|
420 |
mask: An optional image file that defines regions to be inpainted (only needed if "Inpainting" is selected).
|
421 |
seed: An integer seed for random number generation to ensure reproducibility.
|
422 |
progress: (Optional) A Gradio progress object for UI progress tracking (used automatically).
|
|
|
413 |
|
414 |
Args:
|
415 |
lq_sequence: The input low-quality video file (can be a path or Gradio video object).
|
416 |
+
task_name: A list of selected restoration tasks to perform. Choices include: "BFR" for Blind Face Restoration, "Colorization" for adding color to grayscale footage, "Inpainting" for filling in missing or corrupted regions using a mask
|
|
|
|
|
|
|
417 |
mask: An optional image file that defines regions to be inpainted (only needed if "Inpainting" is selected).
|
418 |
seed: An integer seed for random number generation to ensure reproducibility.
|
419 |
progress: (Optional) A Gradio progress object for UI progress tracking (used automatically).
|