import gradio as gr def show_cat(): # URL of a cat image cat_image_url = "https://placekitten.com/400/400" return cat_image_url # Define the Gradio Interface demo = gr.Interface( fn=show_cat, # Function to display the cat image inputs=[], # No inputs for this function outputs="image" # Output will be an image ) # Launch the interface demo.launch()