Another missing import

This commit is contained in:
oobabooga 2023-03-23 22:19:01 -03:00 committed by GitHub
parent 7078d168c3
commit 8747c74339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,8 @@ from threading import Thread
import torch
import transformers
import modules.shared as shared
# Copied from https://github.com/PygmalionAI/gradio-ui/
class _SentinelTokenStoppingCriteria(transformers.StoppingCriteria):