File size: 322 Bytes
3da0952
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
from gradio_client import Client

client = Client("http://127.0.0.1:7860/")
# result = client.predict(
# 		"C:\\Users\\hp\\Downloads\\im1.jpeg",api_name="/predict"	
# )

result = client.predict({"video":"C:\\Users\\hp\\Downloads\\ras_df.mp4",
                        "subtitles":None},	api_name="/predict_1")
print(result)