File size: 301 Bytes
b6820a3
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from gradio_client import Client, handle_file

client = Client("rootglitch/CarVizGradioDemo01")
result = client.predict(
		input_image_path=handle_file('https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png'),
		prompt="Hello!!",
		api_name="/generate_image"
)
print(result)