Spaces:
Runtime error
Runtime error
fixed typo
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def interpret_pred_with_sensibility(pred):
|
|
33 |
return proba
|
34 |
|
35 |
|
36 |
-
def main(Texte -> Resultat
|
37 |
|
38 |
input_ids = torch.tensor(
|
39 |
[barthez_tokenizer.encode(Texte, truncation=True, padding=True, add_special_tokens=True)]
|
|
|
33 |
return proba
|
34 |
|
35 |
|
36 |
+
def main(Texte) -> Resultat:
|
37 |
|
38 |
input_ids = torch.tensor(
|
39 |
[barthez_tokenizer.encode(Texte, truncation=True, padding=True, add_special_tokens=True)]
|