TomData commited on
Commit
5b20ce0
·
1 Parent(s): 227833b

update env

Browse files
Files changed (1) hide show
  1. src/chatbot.py +2 -6
src/chatbot.py CHANGED
@@ -6,14 +6,10 @@ from langchain_community.embeddings import HuggingFaceEmbeddings
6
  from src.vectordatabase import RAG, get_vectorstore
7
  import pandas as pd
8
  import os
9
- from dotenv import load_dotenv, find_dotenv
10
 
11
  #Load environmental variables from .env-file
12
- load_dotenv(find_dotenv())
13
-
14
- from getpass import getpass
15
-
16
- HUGGINGFACEHUB_API_TOKEN = getpass()
17
 
18
 
19
  embeddings = HuggingFaceEmbeddings(model_name="paraphrase-multilingual-MiniLM-L12-v2")
 
6
  from src.vectordatabase import RAG, get_vectorstore
7
  import pandas as pd
8
  import os
9
+ #from dotenv import load_dotenv, find_dotenv
10
 
11
  #Load environmental variables from .env-file
12
+ #load_dotenv(find_dotenv())
 
 
 
 
13
 
14
 
15
  embeddings = HuggingFaceEmbeddings(model_name="paraphrase-multilingual-MiniLM-L12-v2")