Spaces:
Sleeping
Sleeping
Demosthene-OR
commited on
Commit
•
cf31c64
1
Parent(s):
23cf46f
....
Browse files- requirements.txt +0 -3
- tabs/chatbot_tab.py +2 -4
requirements.txt
CHANGED
@@ -9,9 +9,6 @@ scikit-learn==1.1.3
|
|
9 |
scipy==1.9.3
|
10 |
gensim==4.3.2
|
11 |
sacrebleu==2.4.0
|
12 |
-
spacy==3.6.0
|
13 |
-
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.6.0/en_core_web_sm-3.6.0.tar.gz
|
14 |
-
https://github.com/explosion/spacy-models/releases/download/fr_core_news_sm-3.6.0/fr_core_news_sm-3.6.0.tar.gz
|
15 |
pillow==9.5.0
|
16 |
wordcloud==1.9.3
|
17 |
networkx==2.7.0
|
|
|
9 |
scipy==1.9.3
|
10 |
gensim==4.3.2
|
11 |
sacrebleu==2.4.0
|
|
|
|
|
|
|
12 |
pillow==9.5.0
|
13 |
wordcloud==1.9.3
|
14 |
networkx==2.7.0
|
tabs/chatbot_tab.py
CHANGED
@@ -23,11 +23,9 @@ dataPath = st.session_state.DataPath
|
|
23 |
os.environ["LANGCHAIN_TRACING_V2"] = "true"
|
24 |
os.environ["LANGCHAIN_ENDPOINT"]="https://api.smith.langchain.com"
|
25 |
os.environ["LANGCHAIN_HUB_API_URL"]="https://api.smith.langchain.com"
|
26 |
-
os.environ["LANGCHAIN_API_KEY"] = "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" # getpass.getpass()
|
27 |
os.environ["LANGCHAIN_PROJECT"] = "Sales Coaching Chatbot"
|
28 |
-
|
29 |
-
os.
|
30 |
-
|
31 |
model = ChatMistralAI(model="mistral-large-latest")
|
32 |
|
33 |
dataPath = st.session_state.DataPath
|
|
|
23 |
os.environ["LANGCHAIN_TRACING_V2"] = "true"
|
24 |
os.environ["LANGCHAIN_ENDPOINT"]="https://api.smith.langchain.com"
|
25 |
os.environ["LANGCHAIN_HUB_API_URL"]="https://api.smith.langchain.com"
|
|
|
26 |
os.environ["LANGCHAIN_PROJECT"] = "Sales Coaching Chatbot"
|
27 |
+
os.getenv("LANGCHAIN_API_KEY")
|
28 |
+
os.getenv("MISTRAL_API_KEY")
|
|
|
29 |
model = ChatMistralAI(model="mistral-large-latest")
|
30 |
|
31 |
dataPath = st.session_state.DataPath
|