Spaces:
Sleeping
Sleeping
File size: 213 Bytes
68f9b9e | 1 2 3 4 5 6 7 8 9 | import os
os.environ["KERAS_BACKEND"] = "torch"
try:
from fer import FER
detector = FER()
print("FER imported and detector created with torch backend.")
except Exception as e:
print(f"Error: {e}")
|