Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,10 +56,8 @@ fig
|
|
| 56 |
|
| 57 |
|
| 58 |
async def callback(content: str, user: str, instance: pn.chat.ChatInterface):
|
| 59 |
-
|
| 60 |
-
|
| 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]
|