Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,8 +7,7 @@ from langchain_openai import OpenAI
|
|
| 7 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 8 |
|
| 9 |
#When deployed on huggingface spaces, this values has to be passed using Variables & Secrets setting, as shown in the video :)
|
| 10 |
-
|
| 11 |
-
#os.environ["OPENAI_API_KEY"] = "sk-PLfFwPq6y24234234234FJ1Uc234234L8hVowXdt"
|
| 12 |
|
| 13 |
#import os
|
| 14 |
#os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
|
|
|
|
| 7 |
from langchain_huggingface import HuggingFaceEndpoint
|
| 8 |
|
| 9 |
#When deployed on huggingface spaces, this values has to be passed using Variables & Secrets setting, as shown in the video :)
|
| 10 |
+
|
|
|
|
| 11 |
|
| 12 |
#import os
|
| 13 |
#os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
|