Spaces:
Running
Running
saicharantej
commited on
Commit
•
3f233bd
1
Parent(s):
c9238dd
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
import cohere
|
|
|
3 |
|
4 |
co = cohere.Client(
|
5 |
-
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):
|