File size: 555 Bytes
5652fe3 10b0429 5652fe3 10b0429 bbc6d94 10b0429 c5188b7 10b0429 5652fe3 10b0429 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | """
Hugging Face Spaces wrapper for AI Messaging System Visualization Tool
This wrapper imports and runs the main app from the visualization folder.
"""
import sys
from pathlib import Path
# Add the visualization directory to Python path
visualization_dir = Path(__file__).parent / "visualization"
sys.path.insert(0, str(visualization_dir))
sys.path.insert(0, str(Path(__file__).parent))
# Change to visualization directory context for relative imports
import os
os.chdir(visualization_dir)
# Import and run the main app
from visualization import app
|