Spaces:
Sleeping
Sleeping
File size: 549 Bytes
a028dcf 18a508e a028dcf 18a508e 4df8a92 7e9ed7a 18a508e a028dcf 18a508e a028dcf 18a508e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import streamlit as st
from FinancialAgentOllama import FinancialAgentOllama
from langchain.embeddings import HuggingFaceEmbeddings
from huggingface_hub import hf_hub_download
# Download the .faiss file from a model or dataset repo
index_path = hf_hub_download(
repo_id="mrfirdauss/FaissBhatlaBook",
filename="vs_68bf713eea2c81919ac08298a05d6704/index.faiss",
repo_type="dataset"
)
app = FinancialAgentOllama(st, model_name="qwen3:4b", embedding=HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2"))
app.run()
|