Spaces:
Sleeping
Sleeping
Add app.py entry point for Hugging Face Spaces
Browse files- Create app.py as main entry point for HF Spaces deployment
- Ensures proper application startup on Hugging Face platform
- Enhanced Verification Modes ready for production deployment
app.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""
|
| 3 |
+
Hugging Face Spaces entry point for Spiritual Health Project.
|
| 4 |
+
Enhanced Verification Modes - Production Ready.
|
| 5 |
+
"""
|
| 6 |
+
|
| 7 |
+
import os
|
| 8 |
+
import sys
|
| 9 |
+
|
| 10 |
+
# Add project root to path
|
| 11 |
+
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
|
| 12 |
+
|
| 13 |
+
# Import and run the main application
|
| 14 |
+
from src.interface.simplified_gradio_app import main
|
| 15 |
+
|
| 16 |
+
if __name__ == "__main__":
|
| 17 |
+
main()
|