Spaces:
Sleeping
Sleeping
Commit ·
c1d8f2f
1
Parent(s): c235745
use html
Browse files
app.py
CHANGED
|
@@ -204,8 +204,17 @@ with gr.Blocks(theme=gr.themes.Default()) as demo:
|
|
| 204 |
session = gr.State({"username": None, "counter": 0}) # Manage session state
|
| 205 |
# Login Section
|
| 206 |
login_block = gr.Column(visible=True)
|
| 207 |
-
gr.Markdown("[Demo](https://youtube.com/shorts/DmiVhj9ROag?si=j5Opmjny3kNdLlrf)")
|
| 208 |
with login_block:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 209 |
email_input = gr.Textbox(label="Email")
|
| 210 |
username_input = gr.Textbox(label="WA", type="password") # Hide input
|
| 211 |
login_button = gr.Button("🔑 Login / Register")
|
|
|
|
| 204 |
session = gr.State({"username": None, "counter": 0}) # Manage session state
|
| 205 |
# Login Section
|
| 206 |
login_block = gr.Column(visible=True)
|
|
|
|
| 207 |
with login_block:
|
| 208 |
+
gr.HTML(
|
| 209 |
+
"""
|
| 210 |
+
<div style="text-align: center;">
|
| 211 |
+
<a href="https://youtube.com/shorts/DmiVhj9ROag?si=j5Opmjny3kNdLlrf" target="_blank" style="text-decoration: none; font-size: 20px;">
|
| 212 |
+
<img src="https://upload.wikimedia.org/wikipedia/commons/b/b8/YouTube_Logo_2017.svg" alt="YouTube" width="100"><br>
|
| 213 |
+
<strong>Demo</strong>
|
| 214 |
+
</a>
|
| 215 |
+
</div>
|
| 216 |
+
"""
|
| 217 |
+
)
|
| 218 |
email_input = gr.Textbox(label="Email")
|
| 219 |
username_input = gr.Textbox(label="WA", type="password") # Hide input
|
| 220 |
login_button = gr.Button("🔑 Login / Register")
|