harvestbuddy-api / config.py
sohok's picture
Init commit from local
486275c
raw
history blame contribute delete
718 Bytes
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' : [''] #
}