Spaces:
Sleeping
Sleeping
File size: 403 Bytes
1c3dd01 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
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()
|