Spaces:
Build error
Build error
File size: 1,099 Bytes
b83cc65 a2dfb74 b83cc65 b9be4de b83cc65 b9be4de b83cc65 db6b619 1ed8d55 db6b619 |
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 |
---
title: Dl4ds Tutor
emoji: 🏃
colorFrom: green
colorTo: red
sdk: docker
pinned: false
hf_oauth: true
---
DL4DS Tutor
===========
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
To run locally,
Clone the repository from: https://github.com/DL4DS/dl4ds_tutor
Put your data under the `storage/data` directory. Note: You can add urls in the urls.txt file, and other pdf files in the `storage/data` directory.
To create the Vector Database, run the following command:
```python code/modules/vector_db.py```
(Note: You would need to run the above when you add new data to the `storage/data` directory, or if the ``storage/data/urls.txt`` file is updated. Or you can set ``["embedding_options"]["embedd_files"]`` to True in the `code/config.yaml` file, which would embed files from the storage directory everytime you run the below chainlit command.)
To run the chainlit app, run the following command:
```chainlit run code/main.py```
See the [docs](https://github.com/DL4DS/dl4ds_tutor/tree/main/docs) for more information.
|