MFawad commited on
Commit
914bb0a
·
1 Parent(s): 435240f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ co = cohere.Client('api_key') # Replace with your Cohere API key
11
  # Function to generate text using Cohere API
12
  def generate_text(prompt, temperature):
13
  response = co.generate(
14
- model_id = os.environ["MODEL_ID"],
15
  model='model_id', # Replace with your Cohere model ID
16
  prompt=prompt,
17
  max_tokens= 2000,
 
11
  # Function to generate text using Cohere API
12
  def generate_text(prompt, temperature):
13
  response = co.generate(
14
+ model_id = os.environ["Model_ID"],
15
  model='model_id', # Replace with your Cohere model ID
16
  prompt=prompt,
17
  max_tokens= 2000,