Spaces:
Runtime error
Runtime error
add comments
Browse files
app.py
CHANGED
|
@@ -3,6 +3,7 @@ import cohere
|
|
| 3 |
import os
|
| 4 |
from dotenv import load_dotenv, find_dotenv
|
| 5 |
|
|
|
|
| 6 |
_ = load_dotenv(find_dotenv()) # read local .env file
|
| 7 |
cohere_api_key = os.environ['COHERE_API']
|
| 8 |
co = cohere.Client(cohere_api_key)
|
|
|
|
| 3 |
import os
|
| 4 |
from dotenv import load_dotenv, find_dotenv
|
| 5 |
|
| 6 |
+
# load the .env file
|
| 7 |
_ = load_dotenv(find_dotenv()) # read local .env file
|
| 8 |
cohere_api_key = os.environ['COHERE_API']
|
| 9 |
co = cohere.Client(cohere_api_key)
|