-
Notifications
You must be signed in to change notification settings - Fork 343
Closed
Labels
bugSomething isn't workingSomething isn't workingprompterissue related to prompterissue related to prompter
Description
Using ARM processor if that matters:
(base) root@ip-172-31-38-54:/home/ubuntu# python
Python 3.7.6 | packaged by conda-forge | (default, Mar 23 2020, 22:25:07)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from promptify import OpenAI
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/root/miniforge3/lib/python3.7/site-packages/promptify/__init__.py", line 2, in <module>
from .models.nlp.openai_model import OpenAI
File "/root/miniforge3/lib/python3.7/site-packages/promptify/models/nlp/openai_model.py", line 6, in <module>
from .utils import get_encoder
File "/root/miniforge3/lib/python3.7/site-packages/promptify/models/nlp/utils/__init__.py", line 1, in <module>
from .bpe_encoder import get_encoder
File "/root/miniforge3/lib/python3.7/site-packages/promptify/models/nlp/utils/bpe_encoder.py", line 8, in <module>
from .utils import download
File "/root/miniforge3/lib/python3.7/site-packages/promptify/models/nlp/utils/utils.py", line 34
if last_modified := response.headers.get("last-modified"):
^
SyntaxError: invalid syntax
>>>
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingprompterissue related to prompterissue related to prompter