diff --git a/README.md b/README.md index ccf8c180f163181fc5592dabbba5a810b77124e0..55f5f76939bdbc94bf6023ca74c7ccabb7633c4e 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,6 @@ Uses OpenAI API to determine if a research idea is reasonable and novel for the MPOG database. Not affiliated with MPOG in any way. ## Deploy -### Docker -Your OpenAI API key must be in .streamlit/secrets.toml -``` -docker build -t streamlit -f deploy/Dockerfile . -docker run -p 8501:8501 streamlit -``` -Then navigate in your browser to localhost:8501 - ### Docker-compose ``` docker-compose up diff --git a/app.py b/app.py index ac0544a96c16d683ed6d503d371cadf07195ef50..aca557d0f79d9afab0d7e7e0087d471c4323c2df 100644 --- a/app.py +++ b/app.py @@ -13,6 +13,8 @@ import pyodbc import datetime import os +# TODO: This is painfully modularizable. + # secrets def manage_sensitive(name): secret_fpath = f'/run/secrets/{name}'