Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,7 @@ class PineconeIndex:
|
|
29 |
sentence_model = self.sm
|
30 |
|
31 |
# get api key from app.pinecone.io
|
32 |
-
PINECONE_API_KEY =
|
33 |
# find your environment next to the api key in pinecone console
|
34 |
PINECONE_ENV = "us-west4-gcp" # os.environ.get('PINECONE_ENV') or 'PINECONE_ENV'
|
35 |
|
@@ -65,7 +65,7 @@ class PineconeIndex:
|
|
65 |
|
66 |
sentence_model = self.sm
|
67 |
|
68 |
-
x = pd.read_excel('Diseases_data_W.xlsx')
|
69 |
|
70 |
question_dict = {'About': 'What is {}?', 'Symptoms': 'What are symptoms of {}?',
|
71 |
'Causes': 'What are causes of {}?',
|
|
|
29 |
sentence_model = self.sm
|
30 |
|
31 |
# get api key from app.pinecone.io
|
32 |
+
PINECONE_API_KEY = "b97d5759-dd39-428b-a1fd-ed30f3ba74ee" # os.environ.get('PINECONE_API_KEY') or 'PINECONE_API_KEY'
|
33 |
# find your environment next to the api key in pinecone console
|
34 |
PINECONE_ENV = "us-west4-gcp" # os.environ.get('PINECONE_ENV') or 'PINECONE_ENV'
|
35 |
|
|
|
65 |
|
66 |
sentence_model = self.sm
|
67 |
|
68 |
+
x = pd.read_excel('/kaggle/input/drug-p/Diseases_data_W.xlsx')
|
69 |
|
70 |
question_dict = {'About': 'What is {}?', 'Symptoms': 'What are symptoms of {}?',
|
71 |
'Causes': 'What are causes of {}?',
|