Spaces:
Paused
Paused
MEOW commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -1 +1,26 @@
|
|
| 1 |
-
# xAI-testing
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# xAI-testing
|
| 2 |
+
|
| 3 |
+
## Setup
|
| 4 |
+
|
| 5 |
+
1. Clone the repository:
|
| 6 |
+
```
|
| 7 |
+
git clone https://github.com/142CodeGreen/S1.git
|
| 8 |
+
cd S1
|
| 9 |
+
```
|
| 10 |
+
|
| 11 |
+
2. Install the required packages:
|
| 12 |
+
```
|
| 13 |
+
pip install --upgrade -r requirements.txt
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
+
3. Export API keys. NVIDIA_API_KEY is for NVIDIA NIM, while OpenAI API Key is needed for Nemo Guardrails.
|
| 17 |
+
```
|
| 18 |
+
export NVIDIA_API_KEY="your-api-key-here"
|
| 19 |
+
echo $NVIDIA_API_KEY
|
| 20 |
+
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
4. Run the app.py:
|
| 24 |
+
```
|
| 25 |
+
python3 app.py
|
| 26 |
+
```
|