File size: 624 Bytes
36b34ac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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()