import gradio as gr
# HTML and CSS for the solar system visualization
html_code = """
Click on a planet to see information
"""
def solar_system_simulator():
return gr.HTML(html_code)
demo = gr.Interface(
fn=solar_system_simulator,
inputs=[],
outputs="html",
title="Solar System Simulator",
description="A colorful and animated solar system simulator. Click on the planets to see key facts."
)
if __name__ == "__main__":
demo.launch()