Financial-RAG / src /streamlit_app.py
mrfirdauss's picture
payload streamlit initialization
e0e11c1
raw
history blame contribute delete
381 Bytes
from huggingface_hub import hf_hub_download
from FinancialAgentApp import HFFinancialRAG, OpenAIFinancialRAG
import streamlit as st
if __name__ == "__main__":
index_path = hf_hub_download(
repo_id="mrfirdauss/FaissBhatlaBook",
filename="vs_68bf713eea2c81919ac08298a05d6704/index.faiss",
repo_type="dataset"
)
app = OpenAIFinancialRAG(st)
app.run()