@@ -34,7 +34,7 @@ def tearDown(self) -> None:
3434 return super ().tearDown ()
3535
3636 def test_text_chat (self ):
37- self .skipTest (self , "skip before fix the issue" )
37+ self .skipTest ("skip before fix the issue" )
3838 config = PipelineConfig (model_name_or_path = "facebook/opt-125m" )
3939 chatbot = build_chatbot (config )
4040 response = chatbot .predict ("Tell me about Intel Xeon Scalable Processors." )
@@ -57,7 +57,7 @@ def test_retrieval(self):
5757 plugins .retrieval .enable = False
5858
5959 def test_retrieval_append (self ):
60- self .skipTest (self , "skip before fix the issue" )
60+ self .skipTest ("skip before fix the issue" )
6161 plugins .retrieval .enable = True
6262 plugins .retrieval .args ["append" ] = True
6363 plugins .retrieval .args ["input_path" ] = "../assets/docs/"
@@ -81,7 +81,7 @@ def test_retrieval_append(self):
8181 plugins .retrieval .enable = False
8282
8383 def test_voice_chat (self ):
84- self .skipTest (self , "skip before fix the issue" )
84+ self .skipTest ("skip before fix the issue" )
8585 plugins .tts .enable = True
8686 plugins .tts .args ["output_audio_path" ] = "./response.wav"
8787 pipeline_config = PipelineConfig (model_name_or_path = "facebook/opt-125m" ,
@@ -103,7 +103,7 @@ def test_quantization(self):
103103 optimize_model (model = model , config = config )
104104
105105 def test_text_chat_stream (self ):
106- self .skipTest (self , "skip before fix the issue" )
106+ self .skipTest ("skip before fix the issue" )
107107 config = PipelineConfig (model_name_or_path = "facebook/opt-125m" )
108108 chatbot = build_chatbot (config )
109109 stream_text = ""
0 commit comments