docs: prettify tree structure

pull/57/head
邱锦锋 1 year ago committed by GitHub
parent b712b3c211
commit 6d60ba1f09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -101,6 +101,7 @@ docker pull registry.hf.space/bhaskartripathi-pdfchatter:latest
2. Download the Universal Sentence Encoder locally to your project's root folder. This is important because otherwise, 915 MB will be downloaded at runtime everytime you run it.
3. Download the encoder using this [link](https://tfhub.dev/google/universal-sentence-encoder/4?tf-hub-format=compressed).
4. Extract the downloaded file and place it in your project's root folder as shown below:
```text
Root folder of your project
└───Universal Sentence Encoder
| ├───assets
@ -108,6 +109,7 @@ Root folder of your project
| └───saved_model.pb
|
└───app.py
```
5. If you have downloaded it locally, replace the code on line 68 in the API file:
```python
self.use = hub.load('https://tfhub.dev/google/universal-sentence-encoder/4')

Loading…
Cancel
Save