File size: 212 Bytes
5f32ca7
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
from gradio_client import Client

client = Client("https://gmshroff-gmserver.hf.space/")
result = client.predict(
				"{'name':'Gautam'}",	# str in 'name' Textbox component
				api_name="/predict"
)
print(result)