Spaces:
Sleeping
Sleeping
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() | |