IberaSoft commited on
Commit
c20cc67
·
verified ·
1 Parent(s): 61e170d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ try:
18
  "sentiment-analysis",
19
  model=MODEL_NAME,
20
  token=hf_token if hf_token else None,
21
- return_all_scores=True
22
  )
23
  print("✓ Model loaded successfully!")
24
  except Exception as e:
 
18
  "sentiment-analysis",
19
  model=MODEL_NAME,
20
  token=hf_token if hf_token else None,
21
+ top_k=None # Returns all scores
22
  )
23
  print("✓ Model loaded successfully!")
24
  except Exception as e: