Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant