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