File size: 361 Bytes
0b51cd7
0fb074a
0b51cd7
7ce7422
0fb074a
0b51cd7
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from pathlib import Path
import pathlib,tempfile
# Root folder for DB
#PROJ = Path(__file__).parent # For MAC
PROJ = pathlib.Path(tempfile.gettempdir()) # For Space
MAX_RESULTS  = 10 #default number of results

MODEL_NAME   = "unsloth/llama-3-8b-Instruct-bnb-4bit" #default model

DB_FILE      = "papers.db" # default database file
DB_PATH      = PROJ / DB_FILE