Updated readme.

This commit is contained in:
HowToSD
2025-03-28 21:23:24 -07:00
parent bda7a0b45b
commit c5a75142a2
2 changed files with 5 additions and 11 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ Originally a focused spin-off of [ComfyUI-Data-Analysis](https://github.com/HowT
- Use pre-built model nodes for major architecture such as ResNet, LSTM, GRU, Transformer, or create your own model from various model nodes.
- Perform tensor operations like `add`, `gather`, `scatter`, `where`, etc.
- Support for processing text (e.g. tokenization, embedding) to feed to a model
- Featuring **200 nodes** as of March 28, 2025.
---
## Example Workflows
+4 -10
View File
@@ -25,19 +25,13 @@ def process_import_lines(file_path: str) -> Dict[str, int]:
with open(file_path, "r") as f:
for line in f:
if "import" in line:
if line.startswith("from typing"):
continue
module_name = re.sub(r"^.*import ", "", line).strip()
if module_name.startswith("SNS"):
increment_count(category_counts, "Seaborn")
elif module_name.startswith("MPL"):
increment_count(category_counts, "Matplotlib")
if module_name.startswith("SP"):
increment_count(category_counts, "SentencePiece")
elif module_name.startswith("Pt"):
increment_count(category_counts, "PyTorch")
elif module_name.startswith("Pandas"):
increment_count(category_counts, "Pandas")
elif module_name.startswith(("CDA", "Python")):
increment_count(category_counts, "Misc")
elif module_name.startswith("Numpy"):
increment_count(category_counts, "NumPy")
else:
increment_count(category_counts, "Misc")