Spaces:
Sleeping
Sleeping
Update app2.py
Browse files
app2.py
CHANGED
|
@@ -73,6 +73,7 @@ main_panel_content = None
|
|
| 73 |
# Function to reset the main panel content to the initial content and store the previous content
|
| 74 |
def reset_main_panel(event):
|
| 75 |
global main_panel_content
|
|
|
|
| 76 |
if main_panel_content is not None:
|
| 77 |
# Store the initial content of main_panel if it's not already stored
|
| 78 |
main_panel_content = main_body_instance.main_body
|
|
|
|
| 73 |
# Function to reset the main panel content to the initial content and store the previous content
|
| 74 |
def reset_main_panel(event):
|
| 75 |
global main_panel_content
|
| 76 |
+
print(main_panel_content, flush = True)
|
| 77 |
if main_panel_content is not None:
|
| 78 |
# Store the initial content of main_panel if it's not already stored
|
| 79 |
main_panel_content = main_body_instance.main_body
|