import gradio as gr HTML = """

🐍 Snake Game

Score: 0 High Score: 0
Press Start or use Arrow Keys
Use Arrow Keys or the buttons above to control the snake.
""" def create_app(): with gr.Blocks( title="Snake Game", theme=gr.themes.Soft() ) as demo: gr.HTML(HTML) return demo demo = create_app() if __name__ == "__main__": demo.launch()