Keiraj's picture
Update app.py
05366bd verified
raw
history blame
658 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: "Gradio"; /* Fun font */
}
.gradio-button {
background-color: #ff66b2; /* Pink button */
color: white; /* White text */
}
.gradio-input {
background-color: #ffccff; /* Pink input box */
}
"""
# 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()