<jupyter_start><jupyter_text>Music GAN Colab AppA Colab hosted Streamlit app around the Lucid Dreams package. --- Pull Down the RepoFetch the repository from GitHub, and install Python requirements.<jupyter_code>!git clone https://github.com/michaeltinsley/music-gan-jupyter-app.git
!pip3 install -r ./music-gan-jupyter-app/requirements.txt<jupyter_output><empty_output><jupyter_text>--- NgrokFirst we download an unzip [Ngrok](https://ngrok.com/).Ngrok lets us tunnel a port over the internet.We need this to access Streamlit.<jupyter_code>!wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
!unzip ngrok-stable-linux-amd64.zip<jupyter_output><empty_output><jupyter_text>Run the Ngrok command to tunnel port 8501.Use IPython `system_raw` to run the service in a separate process.<jupyter_code>get_ipython().system_raw('./ngrok http 8501 &')<jupyter_output><empty_output><jupyter_text>Ping the local Ngrok API to find out where our tunnelled port hasappeared on the internet.<jupyter_code>!curl -s http://localhost:4040/api/tunnels | python3 -c \
    'import sys, json; print("App available at: " +json.load(sys.stdin)["tunnels"][0]["public_url"])'<jupyter_output><empty_output><jupyter_text>--- Run the Streamlit AppRun `main.py` with Streamlit ensuring the default port is used.<jupyter_code>!streamlit run ./music-gan-jupyter-app/main.py --server.port=8501<jupyter_output><empty_output>