Spaces:
Sleeping
Sleeping
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) |