## What this teaches

How to moduleNotFoundError: No module named 'scripts'.

## The problem

Issue Stability-AI/generative-models#169 (closed, 6 comments): When starting the UI, an error occurs: E:\GITHUB\generative-models\.pt2\lib\site-packages	orchaudio\backend\utils.py:74: UserWarning: No audio backend is available. warnings.warn("No audio backend is available.") 2023-11-23 14:24:04.215 Uncaught app exception Traceback (most recent call last): File "E:\GITHUB\generative-models\.pt2\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script exec(code, module.__dict__) File "E:\GITHUB\generative-models\scripts\demo\sampling.py", line 3, in [module] from scripts.demo.streamlit_helpers import * ModuleNotFoundErro

## What worked (verified answer)

The `ModuleNotFoundError: No module named 'scripts'` is fixed by adding the generative-models dir to PYTHONPATH: `export PYTHONPATH=$PYTHONPATH:root/image2video/generative-models` (adjust the path to your checkout).

## Source

gh:Stability-AI/generative-models#169 - https://github.com/Stability-AI/generative-models/issues/169
