Keiraj's picture
Update app.py
b855294 verified
raw
history blame
488 Bytes
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()