File size: 189 Bytes
34eb043
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
from gradio_client import Client

client = Client("Nuno-Tome/API_demo_server")
result = client.predict(
		"Hello!!",	# str  in 'text' Textbox component
		api_name="/predict"
)
print(result)