jingwang commited on
Commit
4e8425b
·
verified ·
1 Parent(s): 7531ee5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from mistralai.models.chat_completion import ChatMessage
9
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
10
  """
11
  #client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
12
- client = MistralClient(api_key=mistral_api_key)
13
 
14
 
15
  # Function to get chat response
 
9
  For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
10
  """
11
  #client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
12
+ client = MistralClient(api_key= os.getenv('mistral_api_key'))
13
 
14
 
15
  # Function to get chat response