carblacac commited on
Commit
8bbe152
·
1 Parent(s): abea447

update app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ model = AutoModelForSequenceClassification.from_pretrained(model_ckpt).to(device
16
 
17
  class_names = ['sadness', 'joy', 'love', 'anger', 'fear', 'surprise']
18
 
19
-
20
  def inference(text: str) -> str:
21
  inputs = tokenizer(text, return_tensors="pt")
22
 
 
16
 
17
  class_names = ['sadness', 'joy', 'love', 'anger', 'fear', 'surprise']
18
 
19
+ # main function
20
  def inference(text: str) -> str:
21
  inputs = tokenizer(text, return_tensors="pt")
22