conda create -y -n diff python=3.9 cupy pkg-config compilers libjpeg-turbo opencv cudatoolkit=11.3 numba -c conda-forge
conda activate diff
pip install -r requirements.txt
Note: remember to fill in your OpenAI's API key in main.py
Execution example:
python main.py desc.txt -p template_prompt
python visualizer.py desc.txt -p template_prompt
Results:
- Template-based promting: result folder and prompt folder
- CoT promting: result folder and prompt folder
Execution example:
python visualize_sketch.py
Results: result folder and prompt folder