A newer version of the Streamlit SDK is available: 1.57.0
title: Data Analysis Assistant
emoji: 📊
colorFrom: blue
colorTo: indigo
sdk: streamlit
sdk_version: 1.50.0
app_file: app.py
pinned: false
CSV Data Analysis Agent
This Space hosts a simple data analysis application built with Streamlit and LangChain.
Features:
CSV Upload: Accepts CSV or text files with auto-detection for common delimiters (comma, semicolon, tab, pipe).
Automated EDA: Performs and displays a comprehensive Exploratory Data Analysis upon file upload (structure, data types, missing values, summary statistics).
Conversational Analysis: Uses a LangChain Pandas DataFrame Agent, powered by the open-source google/gemma-7b-it LLM, to answer natural language questions about the data.
Setup Instructions:
Dependencies: Managed via requirements.txt.
API Key: Ensure you have set your Hugging Face API Token as a Space Secret named HUGGINGFACEHUB_API_TOKEN. This is required for the application to access the google/gemma-7b-it model.
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference