Spaces:
Sleeping
Sleeping
File size: 718 Bytes
486275c |
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 |
APP = {
'APP_SETTINGS':'development',
'APP_NAME':'harvest-buddy-api',
'APP_IP':'0.0.0.0',
'API_PORT':7860,
'SECRET_KEY':'this_is_the_secret_key'
}
LLM = {
'MODEL' : 'mesolitica/mallam-1.1b-20k-instructions'
# 'MODEL' : 'mesolitica/malaysian-Llama-3.2-1B-Instruct'
# 'MODEL' : 'mesolitica/Llama-3.2-1B-Malaysian-Reasoning'
}
CORS = {
'ORIGINS' : ["*"], # '[x.x.x.x]',
'METHODS' : ["GET","POST","OPTIONS"],
'HEADERS' : ["*"]
}
DESC = '''
# π¨βπΎπ± HarvestBuddy-API developed using FastAPI π and MaLLaM model π
Basic header template
```json
{
"text" : "", // query
}
```
'''
DIR = {
# 'PATH' : ['/root/mallam-api/'] #
'PATH' : [''] #
} |