Spaces:
Sleeping
Sleeping
Download check_api_params.py from Bhaskr/Age-Synthesis: direct link, hf CLI and curl.
- Browser
- Download file 369 Bytes
-
https://huggingface.co/spaces/Bhaskr/Age-Synthesis/resolve/main/check_api_params.py
- Command line
-
hf download hf://spaces/Bhaskr/Age-Synthesis/check_api_params.py
-
curl -L -o check_api_params.py https://huggingface.co/spaces/Bhaskr/Age-Synthesis/resolve/main/check_api_params.py
369 Bytes
| from gradio_client import Client | |
| import os | |
| def check_robys_api(): | |
| print("Checking Robys01/Face-Aging API structure...") | |
| try: | |
| client = Client("Robys01/Face-Aging") | |
| print("\n--- DETAILED API VIEW ---") | |
| client.view_api() | |
| except Exception as e: | |
| print(f"Failed to connect: {e}") | |
| if __name__ == "__main__": | |
| check_robys_api() | |