Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def return_pred_name(names, ind):
|
|
33 |
out.append(names[i])
|
34 |
return out
|
35 |
|
36 |
-
|
37 |
def predict(title, summary, model, tokenizer):
|
38 |
text = title + '.' + summary
|
39 |
tokens = tokenizer.encode(text)
|
|
|
33 |
out.append(names[i])
|
34 |
return out
|
35 |
|
36 |
+
|
37 |
def predict(title, summary, model, tokenizer):
|
38 |
text = title + '.' + summary
|
39 |
tokens = tokenizer.encode(text)
|