Another missing import
This commit is contained in:
parent
7078d168c3
commit
8747c74339
1 changed files with 2 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue