Spaces:
Runtime error
Runtime error
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
@@ -17,11 +17,11 @@ import spacy
|
|
17 |
#load_dotenv()
|
18 |
|
19 |
# Access the env
|
20 |
-
HF_TOKEN = os.
|
21 |
|
22 |
# openai setup
|
23 |
client = OpenAI(
|
24 |
-
api_key=os.
|
25 |
)
|
26 |
|
27 |
# hugging face setup
|
|
|
17 |
#load_dotenv()
|
18 |
|
19 |
# Access the env
|
20 |
+
HF_TOKEN = os.getenv('HUGGING_FACE_TOKEN')
|
21 |
|
22 |
# openai setup
|
23 |
client = OpenAI(
|
24 |
+
api_key=os.getenv('OPENAI_API_KEY')
|
25 |
)
|
26 |
|
27 |
# hugging face setup
|