File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ def test_load_model(self):
4747 self .setUp ()
4848 with grpc .insecure_channel ("localhost:50051" ) as channel :
4949 stub = backend_pb2_grpc .BackendStub (channel )
50- response = stub .LoadModel (backend_pb2 .ModelOptions (Model = "petals-team/StableBeluga" ))
50+ response = stub .LoadModel (backend_pb2 .ModelOptions (Model = "bigscience/bloom-560m" ))
51+ print (response )
5152 self .assertTrue (response .success )
5253 self .assertEqual (response .message , "Model loaded successfully" )
5354 except Exception as err :
@@ -64,7 +65,7 @@ def test_text(self):
6465 self .setUp ()
6566 with grpc .insecure_channel ("localhost:50051" ) as channel :
6667 stub = backend_pb2_grpc .BackendStub (channel )
67- response = stub .LoadModel (backend_pb2 .ModelOptions (Model = "petals-team/StableBeluga " ))
68+ response = stub .LoadModel (backend_pb2 .ModelOptions (Model = "bigscience/bloom-560m " ))
6869 self .assertTrue (response .success )
6970 req = backend_pb2 .PredictOptions (prompt = "The capital of France is" )
7071 resp = stub .Predict (req )
You can’t perform that action at this time.
0 commit comments