Skip to content

Commit a7f2e43

Browse files
Yonatan ShelachYonatan Shelach
Yonatan Shelach
authored and
Yonatan Shelach
committed
fixed test of hugging_face_serving
1 parent 34c6834 commit a7f2e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hugging_face_serving/test_hugging_face_serving.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def test_local_model_serving():
9999
class_name=CLASS_NAME,
100100
model_path="123", # This is not used, just for enabling the process.
101101
task="sentiment-analysis",
102-
model_class="AutoModelForSequenceClassification",
102+
model_class="TFAutoModelForSequenceClassification",
103103
model_name="nlptown/bert-base-multilingual-uncased-sentiment",
104104
tokenizer_class="AutoTokenizer",
105105
tokenizer_name="nlptown/bert-base-multilingual-uncased-sentiment",

0 commit comments

Comments
 (0)