BtB-ExpC commited on
Commit
4132bd2
·
1 Parent(s): ba8469c
Files changed (1) hide show
  1. main.py +8 -9
main.py CHANGED
@@ -16,9 +16,9 @@ logger = logging.getLogger(__name__)
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")
23
  login_error = gr.Markdown(value="")
24
 
@@ -29,22 +29,21 @@ with gr.Blocks() as interface:
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,
44
  container=False
45
  )
46
 
47
- # gr.Markdown("## Pick the tab for your task of choice")
48
 
49
  with gr.Tabs():
50
  # Build Diagnoser tab
 
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(min_width=42, label="Enter Password", type="password", placeholder="hunter2")
22
  login_button = gr.Button("Login")
23
  login_error = gr.Markdown(value="")
24
 
 
29
  # A row for Title & the standardized text & copy button
30
  with gr.Row():
31
  with gr.Column(scale=3):
32
+ gr.Markdown("")
 
33
  with gr.Column(scale=5):
34
  standardized_format_display = gr.Textbox(
35
+ info="",
36
+ label="",
37
+ show_label=False,
38
  show_copy_button=False,
39
  placeholder="will show most recent reformatting result",
40
  lines=1,
41
+ max_lines=10,
42
  interactive=False,
43
  container=False
44
  )
45
 
46
+ gr.Markdown("## Pick the tab for your task of choice")
47
 
48
  with gr.Tabs():
49
  # Build Diagnoser tab