Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

Type object not subscriptable #4

Open
BenutzerEinsZweiDrei opened this issue Dec 21, 2023 · 0 comments
Open

Type object not subscriptable #4

BenutzerEinsZweiDrei opened this issue Dec 21, 2023 · 0 comments

Comments

@BenutzerEinsZweiDrei
Copy link

BenutzerEinsZweiDrei commented Dec 21, 2023


`Traceback (most recent call last):
  File "c:\Users\***\Downloads\Language-translation-chatbot-telegram-main\Language-translation-chatbot-telegram-main\bot.py", line 2, in <module>
    from hugchat_api import HuggingChat
  File "C:\Program Files\Python38\lib\site-packages\hugchat_api\__init__.py", line 1, in <module>
    from .core import *
  File "C:\Program Files\Python38\lib\site-packages\hugchat_api\core\__init__.py", line 4, in <module>
    from hugchat_api.core.CorotineLoop import CorotineLoop
  File "C:\Program Files\Python38\lib\site-packages\hugchat_api\core\CorotineLoop.py", line 10, in <module>
    class CorotineLoop:
  File "C:\Program Files\Python38\lib\site-packages\hugchat_api\core\CorotineLoop.py", line 31, in CorotineLoop
    def submit(self, flow: Workflow) -> Future[None]:
TypeError: 'type' object is not subscriptable`

I get this after install

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant