Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
Javclaude committed May 31, 2020
1 parent c0c8b81 commit 594ba64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

app = Flask(__name__)

Model, config_file = load_model("./src/Baseline_model/state_dict.py", "./src/Baseline_model/config_model.json") # argparse
Model, config_file = load_model("../src/Baseline_model/state_dict.pt", "../src/Baseline_model/config_model.json") # argparse
tokenizer = load_tokenizer()

@app.route('/predict', methods = ['POST'])
Expand Down

0 comments on commit 594ba64

Please sign in to comment.