Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mpog-helper-openai
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anes_AI
mpog-helper-openai
Commits
f2d55438
Commit
f2d55438
authored
2 years ago
by
Ryan Melvin
Browse files
Options
Downloads
Patches
Plain Diff
no more pure docker deployment options
parent
c253174b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+0
-8
0 additions, 8 deletions
README.md
app.py
+2
-0
2 additions, 0 deletions
app.py
with
2 additions
and
8 deletions
README.md
+
0
−
8
View file @
f2d55438
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
app.py
+
2
−
0
View file @
f2d55438
...
...
@@ -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
}
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment