Description
Hello, I have been using collab from past few months and it working smoothly until today. when I want to change the face it give me this error, can you fix this!
/content/roop
Traceback (most recent call last):
File "/content/roop/run.py", line 3, in
from roop import core
File "/content/roop/roop/core.py", line 20, in
import roop.ui as ui
File "/content/roop/roop/ui.py", line 15, in
from roop.predictor import predict_frame, clear_predictor
File "/content/roop/roop/predictor.py", line 3, in
import opennsfw2
File "/usr/local/lib/python3.10/dist-packages/opennsfw2/init.py", line 4, in
from ._inference import Aggregation
File "/usr/local/lib/python3.10/dist-packages/opennsfw2/_inference.py", line 12, in
from keras import KerasTensor, Model # type: ignore
ImportError: cannot import name 'KerasTensor' from 'keras' (/usr/local/lib/python3.10/dist-packages/keras/init.py)