SHAMIL SHAHBAZ AWAN commited on
Update app.py
Browse files32 unmodified lines333435363738394041424344454647484932 unmodified linesdef 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.")32 unmodified lines333435363738394041424344454647484950515253545556575859606132 unmodified linesdef main():with gr.Blocks(css=""".gradio-container {background: url('https://papers.co/wallpaper/papers.co-vx41-digital-wallpaper-grunge-pattern-background-29-wallpaper.jpg') no-repeat center center fixed;background-size: cover;min-height: 100vh;}.gradio-container .output-box {animation: fadein 2s ease-in-out, scaleup 1s ease-out, textcolor 3s ease-in-out;}@keyframes fadein {from { opacity: 0; }to { opacity: 1; }}@keyframes scaleup {from { transform: scale(0.8); }to { transform: scale(1); }}@keyframes textcolor {0% { color: #ff7e5f; }50% { color: #feb47b; }100% { color: #00b4d8; }}""") 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-2