Spaces:
Runtime error
Runtime error
Download src/streamlit_app.py from mrfirdauss/LLM-CreditCard: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/spaces/mrfirdauss/LLM-CreditCard/resolve/main/src/streamlit_app.py
- Command line
-
hf download hf://spaces/mrfirdauss/LLM-CreditCard/src/streamlit_app.py
-
curl -L -o streamlit_app.py https://huggingface.co/spaces/mrfirdauss/LLM-CreditCard/resolve/main/src/streamlit_app.py
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() | |