area444 commited on
Commit
8ba6571
·
verified ·
1 Parent(s): f686977

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -145,11 +145,11 @@ def save_csv(file_name):
145
  else:
146
  return "Please set file name!"
147
 
148
- with gr.Blocks() as demo:
149
  # Create the first panel (visible from the start)
150
  with gr.Column(visible=True) as panel_1:
151
- user_text = gr.Textbox(label="User name:", placeholder="Type here...", max_lines=1, scale=0)
152
- input_text = gr.Textbox(label="Password:", placeholder="Type here...", max_lines=1, scale=0, type="password")
153
 
154
  # First button, visible from the start
155
  btn_1 = gr.Button("Login", scale=0)
 
145
  else:
146
  return "Please set file name!"
147
 
148
+ with gr.Blocks(fill_height=True) as demo:
149
  # Create the first panel (visible from the start)
150
  with gr.Column(visible=True) as panel_1:
151
+ user_text = gr.Textbox(label="User name:", placeholder="Type here...", scale=0)
152
+ input_text = gr.Textbox(label="Password:", placeholder="Type here...", scale=0, type="password")
153
 
154
  # First button, visible from the start
155
  btn_1 = gr.Button("Login", scale=0)