Spaces:
Running
Running
Update app2.py
Browse files
app2.py
CHANGED
|
@@ -81,6 +81,7 @@ def reset_main_panel(event):
|
|
| 81 |
# Function to update the main panel content when button3 is pressed
|
| 82 |
def update_main_panel_button3(event):
|
| 83 |
global main_panel_content
|
|
|
|
| 84 |
if main_panel_content is not None:
|
| 85 |
# Restore the content of main_panel if it's not empty
|
| 86 |
main_body_instance.main_body = main_panel_content
|
|
|
|
| 81 |
# Function to update the main panel content when button3 is pressed
|
| 82 |
def update_main_panel_button3(event):
|
| 83 |
global main_panel_content
|
| 84 |
+
print(main_panel_content, flush = True)
|
| 85 |
if main_panel_content is not None:
|
| 86 |
# Restore the content of main_panel if it's not empty
|
| 87 |
main_body_instance.main_body = main_panel_content
|