Spaces:
Running
Running
Download tests/test_embed.py from Jaleed02/AI-notes-agent: direct link, hf CLI and curl.
- Browser
- Download file 155 Bytes
-
https://huggingface.co/spaces/Jaleed02/AI-notes-agent/resolve/main/tests/test_embed.py
- Command line
-
hf download hf://spaces/Jaleed02/AI-notes-agent/tests/test_embed.py
-
curl -L -o test_embed.py https://huggingface.co/spaces/Jaleed02/AI-notes-agent/resolve/main/tests/test_embed.py
155 Bytes
| import os | |
| from google import genai | |
| from dotenv import load_dotenv | |
| load_dotenv() | |
| client = genai.Client() | |
| for m in client.models.list(): | |
| print(m.name) | |