ProdVizDemo / app.py
rootglitch's picture
Update app.py
b6820a3 verified
raw
history blame
301 Bytes
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)