Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ template = pn.template.FastListTemplate(
|
|
| 116 |
)
|
| 117 |
|
| 118 |
|
| 119 |
-
def run_code():
|
| 120 |
# Add your desired Python code here
|
| 121 |
# For example, let's print "Hello, Panel!" when the button is clicked
|
| 122 |
print("Hello, Panel!")
|
|
|
|
| 116 |
)
|
| 117 |
|
| 118 |
|
| 119 |
+
def run_code(event):
|
| 120 |
# Add your desired Python code here
|
| 121 |
# For example, let's print "Hello, Panel!" when the button is clicked
|
| 122 |
print("Hello, Panel!")
|