rishik1111 commited on
Commit
1c1dc7d
·
1 Parent(s): 67a45bf

Add Streamlit app entry point

Browse files
Files changed (2) hide show
  1. requirements.txt +2 -0
  2. streamlit_app.py +23 -0
requirements.txt CHANGED
@@ -26,3 +26,5 @@ soundfile>=0.12.1
26
  pytest>=7.4.0
27
  tqdm>=4.66.0
28
  psutil>=5.9.0
 
 
 
26
  pytest>=7.4.0
27
  tqdm>=4.66.0
28
  psutil>=5.9.0
29
+ streamlit>=1.30.0
30
+
streamlit_app.py ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Streamlit Community Cloud entry point for VECTOR: Voice-Enabled Indic RAG.
3
+ Renders the full Command Center UI.
4
+ """
5
+ import streamlit as st
6
+ import streamlit.components.v1 as components
7
+ from pathlib import Path
8
+
9
+ st.set_page_config(
10
+ page_title="⚡ VECTOR — Voice Indic RAG",
11
+ page_icon="⚡",
12
+ layout="wide",
13
+ initial_sidebar_state="collapsed"
14
+ )
15
+
16
+ # Render full Command Center retro UI from web_ui/index.html
17
+ html_path = Path(__file__).parent / "web_ui" / "index.html"
18
+ if html_path.exists():
19
+ with open(html_path, "r", encoding="utf-8") as f:
20
+ html_content = f.read()
21
+ components.html(html_content, height=920, scrolling=True)
22
+ else:
23
+ st.error("web_ui/index.html file not found.")