Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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...",
|
| 152 |
-
input_text = gr.Textbox(label="Password:", placeholder="Type here...",
|
| 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)
|