Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import os
|
|
5 |
|
6 |
# Initialize Cohere Client
|
7 |
api_key = os.environ["API_KEY"]
|
8 |
-
|
9 |
co = cohere.Client(api_key)
|
10 |
|
11 |
# Function to generate text using Cohere API
|
|
|
5 |
|
6 |
# Initialize Cohere Client
|
7 |
api_key = os.environ["API_KEY"]
|
8 |
+
model_id= os.environ['MODEL_ID']
|
9 |
co = cohere.Client(api_key)
|
10 |
|
11 |
# Function to generate text using Cohere API
|