#app.py import gradio as gr from gradio_client import Client client = Client("https://adept-fuyu-8b-demo.hf.space/--replicas/9kcqv/") result = client.predict( "https://raw.githubusercontent.com/gradio-app/gradio/main/test/test_files/bus.png", # str (filepath on your computer (or URL) of image) in 'Upload your Image' Image component "Howdy!", # str in 'Ask a Question' Textbox component fn_index=3 ) print(result)