Spaces:
Runtime error
Runtime error
Update src/app.py
Browse files- src/app.py +1 -1
src/app.py
CHANGED
|
@@ -28,7 +28,7 @@ from nltk.tokenize import word_tokenize, sent_tokenize
|
|
| 28 |
from nltk.stem import WordNetLemmatizer
|
| 29 |
|
| 30 |
import torch
|
| 31 |
-
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
|
| 32 |
|
| 33 |
# Optional imports with fallbacks
|
| 34 |
try:
|
|
|
|
| 28 |
from nltk.stem import WordNetLemmatizer
|
| 29 |
|
| 30 |
import torch
|
| 31 |
+
from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline, set_seed
|
| 32 |
|
| 33 |
# Optional imports with fallbacks
|
| 34 |
try:
|