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