philip11's picture
Upload 17 files
be454f3 verified
Raw
History Blame Contribute Delete
647 Bytes
import sys
import os
# Add project root to Python path
# This is usually not necessary in Hugging Face Spaces if the structure is flat,
# but keeping it for robustness if subdirectories are needed.
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
from ui.streamlit_app import StreamlitApp
# Main function to run the application
def main():
print("πŸš€ Starting Agentic RAG Chatbot on Hugging Face Spaces...")
print("πŸ“ Make sure to set GOOGLE_API_KEY environment variable for full LLM functionality")
# Create and run the Streamlit app
app = StreamlitApp()
app.run()
if __name__ == "__main__":
main()