A newer version of the Gradio SDK is available:
5.17.1
metadata
title: My Diary AI
emoji: ๐
colorFrom: blue
colorTo: pink
sdk: gradio
sdk_version: 5.14.0
app_file: app.py
pinned: false
AI๋ฅผ ํ์ฉํ ์ผ๊ธฐ ์์ฑ ํ๋ก์ ํธ์ ๋๋ค.
ํน์ง
- ํค์๋๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ์์ธํ ์ผ๊ธฐ ์์ฑ
- ๊ฐ์ ๊ณผ ์ํฉ์ ์์ํ๊ฒ ํํ
- Hugging Face์ ํ๊ตญ์ด ์ธ์ด ๋ชจ๋ธ ํ์ฉ
์ค์น ๋ฐฉ๋ฒ
git clone https://huggingface.co/Ping9gu/my-diary
cd my-diary
์ ์ฅ์ ํด๋ก
git clone https://github.com/Ping9gu/my-diary.git
๊ฐ์ํ๊ฒฝ ์์ฑ ๋ฐ ํ์ฑํ
python -m venv venv
source venv/bin/activate
์์กด์ฑ ์ค์น
pip install -r requirements.txt
ํ๊ฒฝ ์ค์
- .env ํ์ผ ์์ฑํ๊ณ ๋ค์ ๋ด์ฉ ์ถ๊ฐ:
HUGGINGFACE_API_KEY=your_token_here
MODEL_ID=nlpai-lab/kullm-polyglot-5.8b-v2
์๋ฒ ์คํ
cd backend
./run_server.sh
์ฌ์ฉ ๋ฐฉ๋ฒ
- ์น ๋ธ๋ผ์ฐ์ ์์ http://localhost:5000 ์ ์
- ํค์๋ ์ ๋ ฅ
- "์ผ๊ธฐ ์์ฑํ๊ธฐ" ๋ฒํผ ํด๋ฆญ
๋ผ์ด์ ์ค
MIT License