Spaces:
Paused
Paused
|
Download README.md from denglhs/xAI-testing: direct link, hf CLI and curl.
- Browser
- Download file 565 Bytes
-
https://huggingface.co/spaces/denglhs/xAI-testing/resolve/main/README.md
- Command line
-
hf download hf://spaces/denglhs/xAI-testing/README.md
-
curl -L -o README.md https://huggingface.co/spaces/denglhs/xAI-testing/resolve/main/README.md
565 Bytes
| 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 | |
| ``` | |