File size: 315 Bytes
02d44c3
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from gradio_client import Client
import json

def check_api():
    try:
        client = Client("ianpan/screening-mammography")
        print("API Information:")
        print(client.view_api(return_format="json"))
    except Exception as e:
        print(f"Error: {e}")

if __name__ == "__main__":
    check_api()