I am confused about one code line in Github, in line 295
text = text[..., :5]
I was wondering if it take the text list from index=0 to 5.
However, it didn't work, I tried to use text = ["an oil painting of a corgi"] as input, it shows error,  string indices must be integers
I am still confused about it, what the meaning of it?
 
     
    