CSS = """ #md_project a { color: black; text-decoration: none; } #md_project a:hover { text-decoration: underline; } """ PROJECT_NAME = """ # [Layer-Divider-WebUI](https://github.com/jhj0517/Layer-Divider-WebUI) """ MARKDOWN_NOTE = """ **If you want to run your own local GPU , please visit this [repository](https://github.com/jhj0517/Layer-Divider-WebUI). The repository also supports layered PSD (Photoshop) file!** """ PARAMS_EXPLANATION = """
Explanation of Each Parameter
Parameter Description
points_per_side The number of points to be sampled along one side of the image. The total number of points is points_per_side**2. If None, 'point_grids' must provide explicit point sampling.
pred_iou_thresh A filtering threshold in [0,1], using the model's predicted mask quality.
stability_score_thresh A filtering threshold in [0,1], using the stability of the mask under changes to the cutoff used to binarize the model's mask predictions.
crops_n_layers If >0, mask prediction will be run again on crops of the image. Sets the number of layers to run, where each layer has 2**i_layer number of image crops.
crop_n_points_downscale_factor The number of points-per-side sampled in layer n is scaled down by crop_n_points_downscale_factor**n.
min_mask_region_area If >0, postprocessing will be applied to remove disconnected regions and holes in masks with area smaller than min_mask_region_area. Requires opencv.
"""