API #317
nikidinsey
started this conversation in
General
API
#317
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anybody got the API running?
Next is crashed on "from inflection import underscore" on line 6 in modules/api/models.py
I fixed this by adding the following to colab codeblock "install requirements"
!pip install -q inflection
Next crash was "TypeError: 'type' object is not subscriptable" on line 111 in modules/api/models.py
I fixed this by adding 'List' to
from typing import Any, Optional, List
then updating four instances of list[str] to List[str] and it seems to work.
It seems like part of the problem is TheLastBen's colab script bypasses launch.py and doesn't load requirements.txt
Has anybody got an idea why?
Cheers
Beta Was this translation helpful? Give feedback.
All reactions