SHAMIL SHAHBAZ AWAN commited on
Update app.py
Browse files30 unmodified lines3132333435363730 unmodified lines# Gradio UI interfacedef main():with gr.Blocks() as demo:gr.Markdown("# Weight Calculator on Different Planets")gr.Markdown("Enter your weight on Earth and choose a planet to find your weight on it.")30 unmodified lines313233343536373839404142434445464748495030 unmodified lines# Gradio UI interfacedef main():with gr.Blocks(css=""".gradio-container {background: url('https://path-to-your-image.jpg') no-repeat center center fixed;background-size: cover;min-height: 100vh;}.gradio-container .output-box {animation: fadein 2s ease-in-out;}@keyframes fadein {from { opacity: 0; }to { opacity: 1; }}""") as demo:gr.Markdown("# Weight Calculator on Different Planets")gr.Markdown("Enter your weight on Earth and choose a planet to find your weight on it.")
app.py+14-1