saicharantej commited on
Commit
3f233bd
1 Parent(s): c9238dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1,8 +1,9 @@
1
  import gradio as gr
2
  import cohere
 
3
 
4
  co = cohere.Client(
5
- api_key="0DjnHo0ao7mVua9IpqnWsTcNNIgEM6AkQHKGKrBg", # This is your trial API key
6
  )
7
 
8
  def cohere_response(msg):
 
1
  import gradio as gr
2
  import cohere
3
+ import os
4
 
5
  co = cohere.Client(
6
+ api_key=os.getenv('api_key'), # This is your trial API key
7
  )
8
 
9
  def cohere_response(msg):