Age-Synthesis / test_api.py
Bhaskr's picture
Initial clean deployment
2ab0040
raw
history blame contribute delete
333 Bytes
from gradio_client import Client
import os
def test_api():
print("Connecting to D-X-Lab/Face-Aging...")
try:
client = Client("D-X-Lab/Face-Aging")
print("API Endpoints:")
client.view_api()
except Exception as e:
print(f"Failed to connect: {e}")
if __name__ == "__main__":
test_api()