ComfyUI Node
Strip Model Extension
Removes one known model file extension from the end of a string. Useful when you want a clean folder or filename from values such as 'model.safetensors' or 'model.gguf'.
Strip Model Extension
- clean_text
◄text►
Categoryutils/filename
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | Text to clean. Removes one known model file extension from the end, for example '.safetensors' or '.gguf'. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| clean_text | STRING | The input text with one known model file extension removed. |