Skip to content

Commit

Permalink
deployment modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
bkocis committed May 20, 2024
1 parent abbd837 commit de5616d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ run_app:
deploy_headless:
docker build --tag=${APP_NAME} --build-arg OPENAI_API_KEY=${OPENAI_API_KEY} .
# docker run -dit -v ${VOLUME_NAME}:/opt/app -p ${PORT}:${PORT} ${APP_NAME}
docker run -dit -v ${DB_PATH_ON_HOST}:/opt/resources -p ${PORT}:${PORT} -e PATH_TO_DB="/opt/resources" ${APP_NAME}
docker run --name chatgpt_app -dit -v ${DB_PATH_ON_HOST}:/opt/resources -p ${PORT}:${PORT} -e PATH_TO_DB="/opt/resources" ${APP_NAME}
git_push:
flake8
git add .
Expand Down
2 changes: 1 addition & 1 deletion chatgptApp/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def main(human_message_prompt_template):
# share=True,
server_name="0.0.0.0",
server_port=8083,
# root_path="/openai-chatgpt-gradio-app")
root_path="/openai-chatgpt-gradio-app"
)


Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
openai
gradio==3.40.1
langchain
langchain==0.0.195
chromadb
tiktoken
unstructured
python-dotenv

flake8
pytest
pytest

0 comments on commit de5616d

Please sign in to comment.