Zack Saadioui
8/26/2024
1
2
3
bash
git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
1
pip
1
2
bash
pip install -r requirements.txt
1
2
bash
python main.py
1
2
bash
docker run --gpus=all -p 11434:11434 ollama/ollama
1
2
bash
ollama pull llama2
1
2
3
4
python
def generate_image_from_text(text):
response = request_ollama_api(text)
create_image(response.data)
1
temperature
1
top_k
1
max_tokens
Copyright © Arsturn 2024