Replace the "Setup ngrok" cell's code with this:
!npm install -g localtunnel
get_ipython().system_raw('lt --port 5010 > url.txt &')
from time import sleep
sleep(2)
print("WAIT for the next cell to output that it's ready, then click:")
with open('url.txt') as url:
print(url.read())
by Synthbot
by Synthbot
by Synthbot
by Synthbot
by Synthbot