Spaces:
Sleeping
Sleeping
Commit
·
5a8f8f9
1
Parent(s):
f079f59
ruffチェック
Browse files
src/ai_api/core/inference.py
CHANGED
|
@@ -30,4 +30,4 @@ class Summarizer:
|
|
| 30 |
input_ids, max_length=50, min_length=10, do_sample=False
|
| 31 |
)
|
| 32 |
summary = self.tokenizer.decode(output_ids[0], skip_special_tokens=True)
|
| 33 |
-
return cast(str, summary)
|
|
|
|
| 30 |
input_ids, max_length=50, min_length=10, do_sample=False
|
| 31 |
)
|
| 32 |
summary = self.tokenizer.decode(output_ids[0], skip_special_tokens=True)
|
| 33 |
+
return cast(str, summary)
|