Skip to content

Commit

Permalink
Fixing KeyError in tests related to default name change
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanMullins committed Oct 11, 2024
1 parent ae5825a commit 64114d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lit_nlp/examples/gcp/model_server_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ def test_predict_endpoint(self, mock_get_models):
]

mock_get_models.return_value = {
'gemma_1.1_instruct_2b_en': mock_model,
'gemma_1.1_instruct_2b_en_salience': salience_model,
'gemma_1.1_instruct_2b_en_tokenize': tokenize_model,
'gemma_1.1_2b_IT': mock_model,
'gemma_1.1_2b_IT_salience': salience_model,
'gemma_1.1_2b_IT_tokenize': tokenize_model,
}
app = webtest.TestApp(model_server.get_wsgi_app())

Expand Down

0 comments on commit 64114d5

Please sign in to comment.