Hamza011 commited on
Commit
94cf8b4
·
verified ·
1 Parent(s): fd3203e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=userdata.get('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