-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
37 lines (29 loc) · 968 Bytes
/
main.py
File metadata and controls
37 lines (29 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
"""
Main entry point for the RAG Comparison application.
Initializes the Streamlit interface and manages the application layout.
"""
import streamlit as st
from utils.directory_utils import ensure_data_directory
from ui.sidebar import render_sidebar
from ui.main_ui import handle_main_ui
from PIL import Image
import logging
import sys
logging.basicConfig(stream=sys.stdout, level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
im = Image.open("favicon.ico")
st.set_page_config(
page_title="Advanced RAG Comparison",
layout="wide",
initial_sidebar_state="expanded",
page_icon=im
)
st.title("🔬 Advanced RAG Comparison and Analysis")
ensure_data_directory()
render_sidebar()
handle_main_ui()
st.markdown("---")
st.markdown(
"Developed by **Mohan Krishna G R** | Exploring AI/RAG? Let's "
"[connect on LinkedIn](https://www.linkedin.com/in/grmk/) | "
"[Portfolio](https://mohankrishnagr.github.io/) "
)