aika42 commited on
Commit
1d710c4
·
verified ·
1 Parent(s): ffd9d3d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -0
app.py CHANGED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # app.py
2
+ import streamlit as st
3
+ from rag_engine import RAGEngine
4
+
5
+ # Initialize app
6
+ st.title("Honkai Star Rail Build Assistant 🔥")
7
+
8
+ # Initialize RAG
9
+ rag = RAGEngine()
10
+
11
+ # User input
12
+ query = st.text_input("Ask about a character build:")
13
+
14
+ if query:
15
+ response = rag.answer_query(query)
16
+ st.write(response)