[Stable Diffusion] Stable Diffusion 3.5 Text to Image 이미지 생성
·
IT/AI
[Stable Diffusion] Stable Diffusion 3.5 Text to Image 이미지 생성테스트 환경Mac m1 proCodeimport osimport uuidfrom datetime import datetimeimport torchfrom diffusers import StableDiffusion3Pipelinefrom dotenv import load_dotenvload_dotenv()HUGGING_FACE_ACCESS_TOKEN = os.getenv("HUGGING_FACE_ACCESS_TOKEN")"""https://prompthero.com/stable-diffusion-cartoon-prompts"""# torch.backends.mps.enable_fallback_impl..
[AI] stable-code-3b 기본적인 사용 가이드 (AI coding)
·
IT/AI
[AI] stable-code-3b 기본적인 사용 가이드 (AI coding)https://huggingface.co/stabilityai/stable-code-3b stabilityai/stable-code-3b · Hugging Face🔥 🦄 YANGSongsong/StableCodeDemohuggingface.co아래 링크로 colab 접속해서 기본 가이드 작성 해보자https://colab.research.google.com/?hl=ko Google Colaboratory colab.research.google.com의존 패키지 설치!pip install -q transformers accelerate sentencepieceLoad 모델 import psutilfrom transformers..