talktosayno / README.md
anpigon's picture
docs(README.md): add instructions for setting up OPENAI_API_KEY in the repository settings
7b4c310
---
title: 세이노 챗봇
emoji: 💬
colorFrom: green
colorTo: pink
sdk: gradio
sdk_version: 3.35.2
app_file: app.py
pinned: false
license: openrail
duplicated_from: JUNGU/talktosayno
---
## 설치하기
```sh
git clone git@hf.co:spaces/anpigon/talktosayno
cd talktosayno
pip install -r requirements.txt
```
## PDF 학습하기
1. `docs` 폴더를 생성하고, 학습할 PDF 파일을 `docs` 폴더에 넣습니다.
2. 그 다음 `python ingest.py` 명령을 실행하여 문서를 학습시킵니다.
## 실행하기
```py
python app.pyt
```
## 허깅페이스
Settings > Variables and secrets 에 `OPENAI_API_KEY`를 등록합니다.
![](https://i.imgur.com/CDq2rIL.png)
허깅페이스 [Getting Started with Repositories](https://huggingface.co/docs/hub/repositories-getting-started) 문서를 참고합니다.
<br>
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference