Spaces:
Runtime error
Runtime error
Commit
·
4d5fdb8
1
Parent(s):
f215822
Update app.py
Browse files
app.py
CHANGED
@@ -161,7 +161,9 @@ with gr.Blocks() as demo:
|
|
161 |
login_result.update(value=message)
|
162 |
login_result.visible = True
|
163 |
|
164 |
-
login_button.click(check_password, inputs=[password_input], outputs=[
|
|
|
|
|
165 |
|
166 |
def update_output_table(query, retmax):
|
167 |
df = search_pubmed(query, retmax)
|
|
|
161 |
login_result.update(value=message)
|
162 |
login_result.visible = True
|
163 |
|
164 |
+
login_button.click(check_password, inputs=[password_input], outputs=[login_result]).then(
|
165 |
+
process_login, [login_result], []
|
166 |
+
)
|
167 |
|
168 |
def update_output_table(query, retmax):
|
169 |
df = search_pubmed(query, retmax)
|