Spaces:
Runtime error
Runtime error
Kang Suhyun
commited on
[#63] Update LiteLLM and README to support other models (#64)
Browse files* [#63] Update LiteLLM and README to support Claude models
This change updates the LiteLLM to support the new Claude models.
* Add MISTRAL_API_KEY to environment variables
- README.md +3 -1
- requirements.txt +1 -1
README.md
CHANGED
|
@@ -33,10 +33,12 @@ pinned: false
|
|
| 33 |
CREDENTIALS_PATH=<your crednetials path> \
|
| 34 |
MODELS_SECRET=<your secret> \
|
| 35 |
OPENAI_API_KEY=<your key> \
|
|
|
|
|
|
|
| 36 |
python3 app.py
|
| 37 |
```
|
| 38 |
|
| 39 |
-
Replace
|
| 40 |
|
| 41 |
> To run the app with [auto-reloading](https://www.gradio.app/guides/developing-faster-with-reload-mode), use `gradio app.py --demo-name app` instead of `python3 app.py`.
|
| 42 |
|
|
|
|
| 33 |
CREDENTIALS_PATH=<your crednetials path> \
|
| 34 |
MODELS_SECRET=<your secret> \
|
| 35 |
OPENAI_API_KEY=<your key> \
|
| 36 |
+
ANTHROPIC_API_KEY=<your key> \
|
| 37 |
+
MISTRAL_API_KEY=<your key> \
|
| 38 |
python3 app.py
|
| 39 |
```
|
| 40 |
|
| 41 |
+
Replace the placeholders with your actual values.
|
| 42 |
|
| 43 |
> To run the app with [auto-reloading](https://www.gradio.app/guides/developing-faster-with-reload-mode), use `gradio app.py --demo-name app` instead of `python3 app.py`.
|
| 44 |
|
requirements.txt
CHANGED
|
@@ -54,7 +54,7 @@ Jinja2==3.1.3
|
|
| 54 |
jsonschema==4.21.1
|
| 55 |
jsonschema-specifications==2023.12.1
|
| 56 |
kiwisolver==1.4.5
|
| 57 |
-
litellm==1.
|
| 58 |
markdown-it-py==3.0.0
|
| 59 |
MarkupSafe==2.1.5
|
| 60 |
matplotlib==3.8.2
|
|
|
|
| 54 |
jsonschema==4.21.1
|
| 55 |
jsonschema-specifications==2023.12.1
|
| 56 |
kiwisolver==1.4.5
|
| 57 |
+
litellm==1.32.7
|
| 58 |
markdown-it-py==3.0.0
|
| 59 |
MarkupSafe==2.1.5
|
| 60 |
matplotlib==3.8.2
|