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

Type object not subscriptable #4

@BenutzerEinsZweiDrei

Description

@BenutzerEinsZweiDrei

`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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions