zswwsz commited on
Commit
159ae8f
1 Parent(s): fd5d5e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def match_img(txt_vec):
53
 
54
  def classify_text(input_chinese_lyrics):
55
  # print(inp)
56
- inp = preprocess(inp_chinese_lyrics)
57
  # print(inp)
58
  inp = tokenizer(inp, padding=True, max_length=512, truncation=True, return_tensors="pt")
59
  # print(inp)
 
53
 
54
  def classify_text(input_chinese_lyrics):
55
  # print(inp)
56
+ inp = preprocess(input_chinese_lyrics)
57
  # print(inp)
58
  inp = tokenizer(inp, padding=True, max_length=512, truncation=True, return_tensors="pt")
59
  # print(inp)