Spaces:
Sleeping
Sleeping
Download app.py from nick5363/Optionflow: direct link, hf CLI and curl.
- Browser
- Download file 787 Bytes
-
https://huggingface.co/spaces/nick5363/Optionflow/resolve/main/app.py
- Command line
-
hf download hf://spaces/nick5363/Optionflow/app.py
-
curl -L -o app.py https://huggingface.co/spaces/nick5363/Optionflow/resolve/main/app.py
787 Bytes
| import gradio as gr | |
| css = """ | |
| body, html { | |
| margin: 0; | |
| padding: 0; | |
| height: 100%; | |
| background-color: #111; | |
| } | |
| #main-area { | |
| height: 100vh; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| color: white; | |
| } | |
| .button-link { | |
| background-color: #007bff; | |
| color: white; | |
| padding: 12px 24px; | |
| text-decoration: none; | |
| border-radius: 6px; | |
| font-size: 16px; | |
| margin-top: 20px; | |
| } | |
| """ | |
| with gr.Blocks(css=css) as app: | |
| gr.HTML(""" | |
| <div id="main-area"> | |
| <h1 style="margin-bottom: 10px;">OptionStrat Flow</h1> | |
| <a class="button-link" href="https://optionstrat.com/flow" target="_blank" rel="noopener noreferrer"> | |
| Enter Option Flow | |
| </a> | |
| </div> | |
| """) | |
| app.launch() |