Spaces:
Runtime error
Runtime error
config updated
Browse files
config.py
CHANGED
|
@@ -1,12 +1,6 @@
|
|
| 1 |
-
from pathlib import Path
|
| 2 |
-
|
| 3 |
-
|
| 4 |
class Config:
|
| 5 |
chunk_size = 1000
|
| 6 |
chunk_overlap = 100
|
| 7 |
vectorstore_dir = 'docs'
|
| 8 |
vectorstore_path = f'{vectorstore_dir}/vectorstore.pkl'
|
| 9 |
chatgpt_model_name = 'gpt-3.5-turbo'
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
Path(Config.vectorstore_dir).unlink(missing_ok=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
class Config:
|
| 2 |
chunk_size = 1000
|
| 3 |
chunk_overlap = 100
|
| 4 |
vectorstore_dir = 'docs'
|
| 5 |
vectorstore_path = f'{vectorstore_dir}/vectorstore.pkl'
|
| 6 |
chatgpt_model_name = 'gpt-3.5-turbo'
|
|
|
|
|
|
|
|
|