pyrit.common.get_available_files#
- get_available_files(model_id: str, token: str)[source]#
Fetch available files for a model from the Hugging Face repository.
- Returns:
List of available file names.
- Raises:
ValueError – If no files are found for the model.