Spaces:
Sleeping
Sleeping
File size: 488 Bytes
bcf9fc0 e18dc18 9168941 b855294 9168941 e18dc18 5e5d211 b855294 5e5d211 e18dc18 7c6b19a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
import gradio as gr
# Function to greet the user
def greet(name):
return f"Hello, {name}!"
css = """
.gradio-container {
background-color: #c48fc4; /* Pink background */
font-family: "Comic Sans MS"; /* Fun font */
}
"""
# Creating a Gradio interface
demo = gr.Interface(
fn=greet, inputs="text",
outputs="text",
title="Cute Greeting App",
description="This app greets the user with a fun message!",
css=css
)
# Launch the app
demo.launch()
|