Spaces:
Running
Running
fix changed import
Browse files
app.py
CHANGED
@@ -12,8 +12,8 @@ from transformers import (
|
|
12 |
LogitsProcessorList,
|
13 |
TopKLogitsWarper,
|
14 |
TemperatureLogitsWarper,
|
|
|
15 |
)
|
16 |
-
from transformers.generation_logits_process import TypicalLogitsWarper
|
17 |
|
18 |
nltk.download('punkt')
|
19 |
|
|
|
12 |
LogitsProcessorList,
|
13 |
TopKLogitsWarper,
|
14 |
TemperatureLogitsWarper,
|
15 |
+
TypicalLogitsWarper,
|
16 |
)
|
|
|
17 |
|
18 |
nltk.download('punkt')
|
19 |
|