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
TypeError: 'type' object is not subscriptable
Traceback:
File "/Users/me/Desktop/SnowChatbox/venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 541, in _run_script
exec(code, module.dict)
File "/Users/me/Desktop/SnowChatbox/LLM_Chatbox/streamlit_app.py", line 2, in
from hugchat import hugchat
File "/Users/me/Desktop/SnowChatbox/venv/lib/python3.8/site-packages/hugchat/hugchat.py", line 18, in
class QueryResult:
File "/Users/me/Desktop/SnowChatbox/venv/lib/python3.8/site-packages/hugchat/hugchat.py", line 24, in QueryResult
web_search_sources: list[WebSearchSource]
The text was updated successfully, but these errors were encountered:
Running locally using Anaconda Pycharm.
The following packages in my requirements.txt:
Error happening at:
from hugchat import hugchat
Error message:
The text was updated successfully, but these errors were encountered: