/ai-storytelling-backstage

🛠 Support material for the upcoming University of Edinburgh course AI and Storytelling

Primary LanguageJupyter NotebookMIT LicenseMIT

AI and Storytelling

what?

This repository contains all the backstage information for the AI and Storytelling course, including workshop sources and the aist wrapper library.

If you wish to use this project in your own work, please cite it with:

@misc{andreadiskage_artificial_2022,
    title = {Artificial {{Intelligence}} and {{Storytelling}}},
    shorttitle = {{{AIST}}},
    author = {Andreadis, Pavlos and Kage, Patrick},
    year = {2022},
    month = oct,
    abstract = {
        A series of packages for easily and reproducibly running pre-trained
            image and text generation and manipulation models.
    },
    copyright = {MIT License},
    howpublished = {The University of Edinburgh}
}

how?

Install poetry:

$ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -

This snippet might be useful for activating the poetry environment without having to create a new shell. Just type activate in a poetry directory and it'll set you up:

alias activate="poetry env info --path && source \`poetry env info --path\`/bin/activate"

Install the project dependencies:

$ cd code
$ poetry install

Open up the code directory, and install the IPython kernel for the poetry environment:

$ poetry run python -m ipykernel install --user --name=aist

Then, you can start Jupyter in that directory:

$ jupyter lab

See the colabs linked from the course website for some examples.