File size: 565 Bytes
78c6b96
 
 
 
 
 
 
 
 
 
 
d9b734a
 
 
 
 
 
699dda3
 
d9b734a
 
 
 
 
 
 
 
 
8981b4e
 
d9b734a
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
title: XAI Testing
emoji: 📉
colorFrom: indigo
colorTo: red
sdk: gradio
sdk_version: 5.7.0
app_file: app.py
pinned: false
---

# xAI-testing

## Setup

1. Clone the repository:
```
git clone https://github.com/142CodeGreen/xAI-testing.git
cd xAI-testing
```

2. Install the required packages:
```
pip install --upgrade -r requirements.txt
```

3. Export API keys. NVIDIA_API_KEY is for NVIDIA NIM, while OpenAI API Key is needed for Nemo Guardrails. 
```
export XAI_API_KEY="your-api-key-here"
echo $XAI_API_KEY
```

4. Run the app.py:
```
python3 app.py
```