thomascuddihy commited on
Commit
7a18c0b
·
1 Parent(s): ca9da5c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -23,8 +23,9 @@ def clf_result(text_input: str) -> str:
23
  res = "Please enter a sentence with the word `best`"
24
  return res
25
  model_res = clf(text_input)[0]
26
- logger.info(f"{model_res = }")
27
- logger.info(f"{model_res['label'] = }")
 
28
  # label_map = {"LABEL_0": "NOT RISKY", "LABEL_1": "RISKY"}
29
  label_map = {
30
  "0": "Not Risky",
 
23
  res = "Please enter a sentence with the word `best`"
24
  return res
25
  model_res = clf(text_input)[0]
26
+ logger.warning(f"{model_res = }")
27
+ logger.warning(f"{model_res['label'] = }")
28
+ print(f"{model_res['label'] = }")
29
  # label_map = {"LABEL_0": "NOT RISKY", "LABEL_1": "RISKY"}
30
  label_map = {
31
  "0": "Not Risky",