Spaces:
Build error
Build error
Download test_model.py from Hamza012bce21/PSX_fyp: direct link, hf CLI and curl.
- Browser
- Download file 194 Bytes
-
https://huggingface.co/spaces/Hamza012bce21/PSX_fyp/resolve/main/test_model.py
- Command line
-
hf download hf://spaces/Hamza012bce21/PSX_fyp/test_model.py
-
curl -L -o test_model.py https://huggingface.co/spaces/Hamza012bce21/PSX_fyp/resolve/main/test_model.py
194 Bytes
| from groq import Groq | |
| import os | |
| client = Groq(api_key="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") | |
| models = client.models.list() | |
| for m in models.data: | |
| print(m.id) | |