Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -89,9 +89,10 @@ with gr.Blocks() as app:
|
|
89 |
# Login-Seite
|
90 |
with gr.Column(visible=False) as login_page:
|
91 |
gr.Markdown("## 🔐 Login")
|
92 |
-
user = gr.Textbox(label="Benutzer"
|
93 |
-
|
94 |
-
|
|
|
95 |
login_status = gr.Textbox(interactive=False, visible=False)
|
96 |
|
97 |
# Kampagnenplaner-Seite
|
|
|
89 |
# Login-Seite
|
90 |
with gr.Column(visible=False) as login_page:
|
91 |
gr.Markdown("## 🔐 Login")
|
92 |
+
user = gr.Textbox(label="Benutzer", on_submit=lambda: login(user.value,
|
93 |
+
pw.value))
|
94 |
+
pw = gr.Textbox(label="Passwort", type="password", on_submit_lambda:
|
95 |
+
login_btn = gr.Button("Login")
|
96 |
login_status = gr.Textbox(interactive=False, visible=False)
|
97 |
|
98 |
# Kampagnenplaner-Seite
|