Skip to content

Commit

Permalink
Fix wsgi handler name.
Browse files Browse the repository at this point in the history
  • Loading branch information
llcourage committed Sep 5, 2024
1 parent 33f1d77 commit 9d39a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lit_nlp/examples/gcp/model_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def _handler(app, request, environ):

predict_model = models[model_name]
salience_model = models[f'_{model_name}_salience']
tokenize_model = models[f'_{model_name}_tokenizer']
tokenize_model = models[f'_{model_name}_tokenize']

handlers = {
'/predict': predict_model.predict,
Expand Down

0 comments on commit 9d39a00

Please sign in to comment.