# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     name: python3
# ---

# + [markdown] id="view-in-github" colab_type="text"
# <a href="https://colab.research.google.com/github/ak9250/taming-transformers/blob/master/tamingtransformerscolab.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a>

# + id="Mz6rDvzhiJFb"
# !git clone https://github.com/CompVis/taming-transformers.git

# + id="kE3-fTYQiNfb"
# cd taming-transformers/

# + id="QnAO2ucKyCXj"
# mkdir logs

# + id="gp9iuy6WyDmp"
# cd logs

# + id="Ca68_YRHyE8Q"
# mkdir 2020-11-09T13-31-51_sflckr/

# + id="znW438yNySRh"
# cd 2020-11-09T13-31-51_sflckr/

# + id="3ATC1xNwyuvA"
# mkdir checkpoints

# + id="4y_CA_7Qyy4Q"
# cd checkpoints/

# + id="Qk2IayEaiPtx"
# !gdown https://drive.google.com/uc?id=1XZVQmiru3Cg6R0r2SzdoUJnb9juuAZNE

# + id="7VsYSUyezkiy"
# cd ..

# + id="srDM2uUtikZb"
# !gdown https://drive.google.com/uc?id=<KEY>

# + id="lkiouKV7zlgp"
# !unzip configs.zip

# + id="ceR8qQJ72rY2"
# cd /content/taming-transformers/

# + id="JECTCSAm0xaz"
# %%writefile requirements.txt
albumentations==0.4.3
pudb==2019.2
imageio==2.9.0
imageio-ffmpeg==0.4.2
omegaconf==2.0.0
test-tube>=0.7.5
pytorch-lightning==1.0.8
streamlit>=0.73.1
-e .

# + id="PI2yTnud0-ad"
# !pip install -r requirements.txt

# + id="4mMlHs5D0ISm"
# !wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip

# + id="nR9jfneK0KgH"
# !unzip ngrok-stable-linux-amd64.zip

# + id="kbXm-1jt0Mmy"
get_ipython().system_raw('./ngrok http 8501 &')

# + id="XJzyLKAD0Or1"
# !curl -s http://localhost:4040/api/tunnels | python3 -c \
#     'import sys, json; print("Execute the next cell and the go to the following URL: " +json.load(sys.stdin)["tunnels"][0]["public_url"])'

# + id="xatBjPGHxlcD"
# !streamlit run scripts/sample_conditional.py -- -r logs/2020-11-09T13-31-51_sflckr/

# + id="fn4tQYW_1fPL"


StarcoderdataJupyterScriptsDedupFiltered