Create FlagOS
Browse files1234567891011121314151617181920212223242526272829303132333435363738import gradio as gr
RACE_URL = "https://flagos.io/RaceDetail?id=295v67vw&lang=en"
with gr.Blocks() as demo: gr.Markdown( """ # ๐ FlagOS Open Computing Global Challenge Welcome to the FlagOS Open Computing Global Challenge ๐ Click the button below to open the official competition page. """ )
gr.HTML(f""" <a href="{RACE_URL}" target="_blank"> <button style=" padding: 12px 24px; font-size: 16px; border-radius: 8px; background-color: #2563eb; color: white; border: none; cursor: pointer; "> ๐ Go to Competition Page </button> </a> """)
gr.Markdown( """ --- If embedding is blocked by browser security rules, the button redirect will always work. """ )
demo.launch()FlagOSAdded+38