Spaces:
Sleeping
Sleeping
File size: 298 Bytes
81e3673 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | import os
import sys
sys.path.append(os.getcwd())
try:
from core.models import ChatMessage
print("SUCCESS: Imported ChatMessage")
except ImportError as e:
print(f"FAILURE: ImportError: {e}")
sys.exit(1)
except Exception as e:
print(f"FAILURE: Exception: {e}")
sys.exit(1)
|