INNER CODE UNIT · Python

process_file_paths

CYBERGEM777/HIDEAGEM · extras/ComfyUI/HIDEAGEM_NODES.py:88

def process_file_paths(input_string):
    # Split the string by new lines and commas
    paths = input_string.replace('\n', ',').split(',')

    # Remove single and double quotation marks and strip whitespace
    cleaned_paths = [path.strip().strip('\'"') for path in paths if path.strip()]

    return cleaned_paths

#
#    HIDEAGEM FIND NODE
#

class HideAGem_FindGems:
    
    @classmethod
    def INPUT_TYPES(s):
        return {

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…