Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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(
|
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)
|