Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,29 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
with gr.Blocks(
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
app.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
with gr.Blocks(css="""
|
| 4 |
+
body { background-color: #111; color: white; }
|
| 5 |
+
#main { display: flex; justify-content: center; align-items: center; height: 90vh; }
|
| 6 |
+
.button-link {
|
| 7 |
+
display: inline-block;
|
| 8 |
+
padding: 12px 24px;
|
| 9 |
+
background-color: #007bff;
|
| 10 |
+
color: white;
|
| 11 |
+
font-size: 18px;
|
| 12 |
+
border-radius: 8px;
|
| 13 |
+
text-decoration: none;
|
| 14 |
+
text-align: center;
|
| 15 |
+
border: 1px solid white;
|
| 16 |
+
}
|
| 17 |
+
.button-link:hover {
|
| 18 |
+
background-color: #0056b3;
|
| 19 |
+
}
|
| 20 |
+
""") as app:
|
| 21 |
+
with gr.Column(elem_id="main"):
|
| 22 |
+
gr.Markdown("""
|
| 23 |
+
### OptionStrat Flow
|
| 24 |
+
<a class="button-link" href="https://optionstrat.com/flow" target="_blank">
|
| 25 |
+
Truy cập Option Flow
|
| 26 |
+
</a>
|
| 27 |
+
""", elem_id="options")
|
| 28 |
|
| 29 |
app.launch()
|