mirror of
https://github.com/Balshgit/gpt_chat_bot.git
synced 2025-09-10 17:20:41 +03:00
fix alembic upgrade & models update before run bot (#81)
This commit is contained in:
parent
28895f3510
commit
28d01f551b
@ -2,10 +2,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
if [ -f shared/${DB_NAME:-chatgpt.db} ]
|
||||
then
|
||||
python3 core/bot/managment/update_gpt_models.py
|
||||
fi
|
||||
alembic upgrade "head" && \
|
||||
python3 core/bot/managment/update_gpt_models.py
|
||||
|
||||
echo "starting the bot"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user