Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -147,7 +147,7 @@ def save_csv(file_name):
|
|
| 147 |
|
| 148 |
with gr.Blocks() as demo:
|
| 149 |
# Create the first panel (visible from the start)
|
| 150 |
-
with gr.Column(visible=True
|
| 151 |
user_text = gr.Textbox(label="User name:", placeholder="Type here...", max_lines=1)
|
| 152 |
input_text = gr.Textbox(label="Password:", placeholder="Type here...", max_lines=1, type="password")
|
| 153 |
|
|
@@ -155,7 +155,7 @@ with gr.Blocks() as demo:
|
|
| 155 |
btn_1 = gr.Button("Login")
|
| 156 |
|
| 157 |
|
| 158 |
-
with gr.Column(visible=False
|
| 159 |
#m = gr.Markdown()
|
| 160 |
with gr.Row():
|
| 161 |
# demo.load(update_message, None, gr.Markdown())
|
|
|
|
| 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)
|
| 152 |
input_text = gr.Textbox(label="Password:", placeholder="Type here...", max_lines=1, type="password")
|
| 153 |
|
|
|
|
| 155 |
btn_1 = gr.Button("Login")
|
| 156 |
|
| 157 |
|
| 158 |
+
with gr.Column(visible=False) as panel_2:
|
| 159 |
#m = gr.Markdown()
|
| 160 |
with gr.Row():
|
| 161 |
# demo.load(update_message, None, gr.Markdown())
|