Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -110,7 +110,7 @@ Answer:"""
|
|
| 110 |
|
| 111 |
prompt = PromptTemplate(input_variables= ['context', 'query'], template= template)
|
| 112 |
|
| 113 |
-
llm =ChatCohere(cohere_api_key=
|
| 114 |
|
| 115 |
with gr.Blocks(theme='finlaymacklon/smooth_slate') as demo:
|
| 116 |
signal = gr.Markdown('''# Welcome to Chat with Docs
|
|
|
|
| 110 |
|
| 111 |
prompt = PromptTemplate(input_variables= ['context', 'query'], template= template)
|
| 112 |
|
| 113 |
+
llm =ChatCohere(cohere_api_key=os.getenv('COHERE_API_KEY'))
|
| 114 |
|
| 115 |
with gr.Blocks(theme='finlaymacklon/smooth_slate') as demo:
|
| 116 |
signal = gr.Markdown('''# Welcome to Chat with Docs
|