diff --git a/index.html b/index.html
index 17040b0..9ead710 100644
--- a/index.html
+++ b/index.html
@@ -89,14 +89,20 @@
Data
import pyscript
+ import time
+ import js
- # Import do_thing from main.py
- processingButton = pyscript.Element("processing")
-
+
+
def runpy():
- processingButton.hidden = False
+ pbutton = js.document.getElementById("processing")
+ abutton = js.document.getElementById("analyse_button")
+
+ """time.sleep(5)"""
+ pbutton.hidden = False
+ abutton.hidden = True
do_thing()
- processingButton.hidden = True
+ pbutton.hidden = True