ahuang11 commited on
Commit
4788972
1 Parent(s): 0b2a850

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -56,10 +56,8 @@ fig
56
 
57
 
58
  async def callback(content: str, user: str, instance: pn.chat.ChatInterface):
59
- if not api_key_input.value:
60
- yield "Please first enter your Mistral API key"
61
- return
62
- client = MistralAsyncClient(api_key=api_key_input.value)
63
 
64
  # system
65
  messages = [SYSTEM_MESSAGE]
 
56
 
57
 
58
  async def callback(content: str, user: str, instance: pn.chat.ChatInterface):
59
+ api_key = "V6GRG2NJXrlhZvpZ7fyso5IrF7KDDN6v"
60
+ client = MistralAsyncClient(api_key=api_key)
 
 
61
 
62
  # system
63
  messages = [SYSTEM_MESSAGE]