Use Localxpose.io , check out this tutorial: https://colab.research.google.com/drive/1CvsmJMH00Cli2K2OQJQYWFG-eNzGSuKl?usp=sharing
!pip install loclx-colab
import loclx_colab.loclx as lx
port = 8787 # The service port that you want to expose
access_token = "Your_Token_Here" # Your LocalXpose token here
url = lx.http_tunnel_start(port, access_token)
if url:
print(f"Your service is exposed to this URL: https://{url}")