CoolFace
Apppublic

Ping9gu/my-diary

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
App README

AI를 활용한 일기 생성 프로젝트입니다.

특징

  • —키워드를 기반으로 자세한 일기 생성
  • —감정과 상황을 생생하게 표현
  • —Hugging Face의 한국어 언어 모델 활용

설치 방법

bash
git clone https://huggingface.co/Ping9gu/my-diary
cd my-diary

저장소 클론

bash
git clone https://github.com/Ping9gu/my-diary.git

가상환경 생성 및 활성화

bash
python -m venv venv
source venv/bin/activate

의존성 설치

bash
pip install -r requirements.txt

환경 설정

  1. 1..env 파일 생성하고 다음 내용 추가:
HUGGINGFACE_API_KEY=your_token_here
MODEL_ID=nlpai-lab/kullm-polyglot-5.8b-v2

서버 실행

bash
cd backend
./run_server.sh

사용 방법

  1. 1.웹 브라우저에서 http://localhost:5000 접속
  2. 2.키워드 입력
  3. 3."일기 생성하기" 버튼 클릭

라이선스

MIT License