You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added --api argument to $share as I couldn't work out where else to put it
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?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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