Skip to content

Commit 8e56648

Browse files
authored
Fix predicter implemtnation in readme (#843)
1 parent 94f352f commit 8e56648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class PythonPredictor:
7373
self.model = download_model()
7474

7575
def predict(self, payload):
76-
return model.predict(payload["text"])
76+
return self.model.predict(payload["text"])
7777
```
7878

7979
### Configure your deployment

0 commit comments

Comments
 (0)