uripper commited on
Commit
1156765
·
1 Parent(s): e851d66
Files changed (3) hide show
  1. .gitignore +3 -1
  2. Dockerfile +3 -0
  3. app/app.py +0 -2
.gitignore CHANGED
@@ -1 +1,3 @@
1
- .secrets
 
 
 
1
+ .secrets
2
+ data/oracle_cards_graph.pkl
3
+ models/card_graph.pkl
Dockerfile CHANGED
@@ -10,6 +10,9 @@ RUN mkdir -p /app/models /app/data && \
10
 
11
  RUN mkdir -p /.cache && chmod -R 777 /.cache
12
 
 
 
 
13
 
14
  # Copy the current directory contents into the container at /app
15
  COPY . /app
 
10
 
11
  RUN mkdir -p /.cache && chmod -R 777 /.cache
12
 
13
+ COPY ./data /app/data
14
+
15
+ COPY ./models /app/models
16
 
17
  # Copy the current directory contents into the container at /app
18
  COPY . /app
app/app.py CHANGED
@@ -2,9 +2,7 @@ from flask import Flask, request, jsonify
2
  import pickle
3
  import pandas as pd
4
  from flask_cors import CORS
5
- import download_models
6
 
7
- download_models.main()
8
 
9
  app = Flask(__name__)
10
  CORS(app)
 
2
  import pickle
3
  import pandas as pd
4
  from flask_cors import CORS
 
5
 
 
6
 
7
  app = Flask(__name__)
8
  CORS(app)