Zyin055 / Inspect-Embedding-Training

Python script to analyze textual inversion embedding files used with AI image generators
MIT License
102 stars 11 forks source link

TypeError: 'type' object is not subscriptable #6

Closed ReidTissing closed 1 year ago

ReidTissing commented 1 year ago

With or without explicit --file, I get the following error: Traceback (most recent call last): File "inspect_embedding_training.py", line 23, in <module> GRAPH_IMAGE_SIZE: tuple[int, int] = (19, 9) # (X,Y) tuple in inches (multiply by 100 for (X,Y) pixel size for the output graphs) TypeError: 'type' object is not subscriptable

Zyin055 commented 1 year ago

What version of Python are you using? Open a command prompt and type python to see.

ReidTissing commented 1 year ago

yeah, that was my bad. Didn't realize it wasn't using Python 3.10.