File size: 933 Bytes
52a6b99
639460f
 
52a6b99
 
 
639460f
52a6b99
 
 
 
 
 
d42d07f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7b4c310
 
 
 
 
 
 
 
d42d07f
 
 
 
52a6b99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
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