uaritm commited on
Commit
f3891bd
·
1 Parent(s): 08b6570

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -35,8 +35,9 @@ model = SetFitModel.from_pretrained("test_depres")
35
 
36
  dict ={0:"positive", 1:"negative"}
37
  # Run inference
 
38
  preds = model(["What happened to me? I don't know what to do, where to go! Can anyone help me?"])
39
- dict.get(str(list(preds))[1:-1])
40
  ```
41
 
42
  ```
 
35
 
36
  dict ={0:"positive", 1:"negative"}
37
  # Run inference
38
+
39
  preds = model(["What happened to me? I don't know what to do, where to go! Can anyone help me?"])
40
+ print(dict.get(preds.numpy()[0]))
41
  ```
42
 
43
  ```