gquery-ai / app.py
Monideep Chakraborti
Deploy GQuery AI - Biomedical Research Assistant with Multi-Database Integration
36b34ac
raw
history blame contribute delete
624 Bytes
#!/usr/bin/env python3
"""
GQuery AI - HuggingFace Spaces Deployment
Intelligent Biomedical Research Assistant
This is the main entry point for the HuggingFace Spaces deployment.
"""
import os
import sys
import warnings
# Suppress warnings for cleaner deployment
warnings.filterwarnings("ignore", category=UserWarning)
warnings.filterwarnings("ignore", category=DeprecationWarning)
# Add the gquery package to the Python path
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "gquery", "src"))
# Import and run the main Gradio app
if __name__ == "__main__":
from improved_gradio_app import main
main()