text: Title: Support new python union syntax
  Body: In cog 0.9.
  
  This works:
  ```
          text: Union[str, List[str]] = Input(description="Text string to embed"),
  ```
  
  this doesn't:
  ```
          text: str | list[str] = Input(description="Text string to embed"),
  ```
  