ollama download
pandas
pandasai
streamlit
pip install -r requirements.txt
기본화면 띄우기
from pandasai.llm.local_llm import LocalLLM
import streamlit as st
model = LocalLLM(
api_base="<http://localhost:11434/v1>",
model="llama3"
)
#st.UI-타이틀
st.title("Data analysis with PandasAI")
streamlit run st01_ollama_llocal.py
...
#st.UI-타이틀
st.title("Data analysis with PandasAI")
#st.UI-데이터 세트로드
upload_file = st.file_uploader("upload a CSV file", type=['csv'])
streamlit run st01_ollama_llocal.py