ExposureGPT / app.py
ACloudCenter's picture
restore
53193f8 verified
raw
history blame
512 Bytes
#!/usr/bin/env python3
"""
ExposureGPT - HuggingFace Spaces App
Simplified OSINT Intelligence Platform with MCP Support
"""
import os
import sys
# Set up environment for HuggingFace Spaces
os.environ.setdefault('GRADIO_SERVER_NAME', '0.0.0.0')
os.environ.setdefault('GRADIO_SERVER_PORT', '7860')
# Import and run the simplified version
from exposuregpt_simple import main
if __name__ == "__main__":
# Force web mode for HuggingFace Spaces
sys.argv = ['app.py', '--port', '7860', '--share']
main()