Spaces:
Sleeping
Sleeping
Commit
·
aa3dfb3
1
Parent(s):
01babfe
Fix lambda function syntax for updating UI elements in create_interface
Browse files
app.py
CHANGED
@@ -685,7 +685,7 @@ def create_interface():
|
|
685 |
outputs=[paper_details_output, selected_paper_state],
|
686 |
api_name=False,
|
687 |
).then(
|
688 |
-
lambda: gr.update(visible=True), gr.update(visible=True), # Show analyze button and feedback accordion
|
689 |
outputs=[analyze_btn, paper_feedback_accordion],
|
690 |
api_name=False,
|
691 |
)
|
|
|
685 |
outputs=[paper_details_output, selected_paper_state],
|
686 |
api_name=False,
|
687 |
).then(
|
688 |
+
lambda: (gr.update(visible=True), gr.update(visible=True)), # Show analyze button and feedback accordion
|
689 |
outputs=[analyze_btn, paper_feedback_accordion],
|
690 |
api_name=False,
|
691 |
)
|