Update app.py
Browse files
app.py
CHANGED
@@ -29,6 +29,11 @@ user_db = {os.environ['username1']: os.environ['password1']}
|
|
29 |
|
30 |
messages = [{"role": "system", "content": 'You are a helpful assistant.'}]
|
31 |
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
def init_pinecone():
|
34 |
pinecone.init(api_key=pinecone_key, environment=pinecone_environment)
|
|
|
29 |
|
30 |
messages = [{"role": "system", "content": 'You are a helpful assistant.'}]
|
31 |
|
32 |
+
#load up spacy
|
33 |
+
|
34 |
+
nlp = spacy.load("en_core_web_sm")
|
35 |
+
|
36 |
+
|
37 |
|
38 |
def init_pinecone():
|
39 |
pinecone.init(api_key=pinecone_key, environment=pinecone_environment)
|