fiddling more
Browse files
main.py
CHANGED
|
@@ -16,7 +16,7 @@ logger = logging.getLogger(__name__)
|
|
| 16 |
# -------------------------------
|
| 17 |
with gr.Blocks() as interface:
|
| 18 |
# --- Login Page ---
|
| 19 |
-
with gr.Column(visible=True, elem_id="login_page") as login_container:
|
| 20 |
gr.Markdown("## 🔒 Please Login")
|
| 21 |
password_input = gr.Textbox(label="Enter Password", type="password", placeholder="hunter2")
|
| 22 |
login_button = gr.Button("Login")
|
|
@@ -28,16 +28,16 @@ with gr.Blocks() as interface:
|
|
| 28 |
# --- Standardized Exercise/Studytext Display (Initially Invisible Because it's empty) ---
|
| 29 |
# A row for Title & the standardized text & copy button
|
| 30 |
with gr.Row():
|
| 31 |
-
with gr.Column(scale=
|
| 32 |
-
gr.Markdown("#
|
| 33 |
-
|
| 34 |
-
with gr.Column(scale=
|
| 35 |
standardized_format_display = gr.Textbox(
|
| 36 |
info="Standardized Data",
|
| 37 |
-
label="",
|
| 38 |
show_label=True,
|
| 39 |
-
show_copy_button=
|
| 40 |
-
placeholder="will
|
| 41 |
lines=1,
|
| 42 |
max_lines=8,
|
| 43 |
interactive=False,
|
|
|
|
| 16 |
# -------------------------------
|
| 17 |
with gr.Blocks() as interface:
|
| 18 |
# --- Login Page ---
|
| 19 |
+
with gr.Column(min_width=42, visible=True, elem_id="login_page") as login_container:
|
| 20 |
gr.Markdown("## 🔒 Please Login")
|
| 21 |
password_input = gr.Textbox(label="Enter Password", type="password", placeholder="hunter2")
|
| 22 |
login_button = gr.Button("Login")
|
|
|
|
| 28 |
# --- Standardized Exercise/Studytext Display (Initially Invisible Because it's empty) ---
|
| 29 |
# A row for Title & the standardized text & copy button
|
| 30 |
with gr.Row():
|
| 31 |
+
with gr.Column(scale=3):
|
| 32 |
+
gr.Markdown("") # Empty spacer
|
| 33 |
+
gr.Markdown("## Pick the tab for your task of choice")
|
| 34 |
+
with gr.Column(scale=5):
|
| 35 |
standardized_format_display = gr.Textbox(
|
| 36 |
info="Standardized Data",
|
| 37 |
+
label="♻️",
|
| 38 |
show_label=True,
|
| 39 |
+
show_copy_button=False,
|
| 40 |
+
placeholder="will show most recent reformatting result",
|
| 41 |
lines=1,
|
| 42 |
max_lines=8,
|
| 43 |
interactive=False,
|