survey-summarizer / CLAUDE.md
chrissoria's picture
Pin cat-llm>=2.3.4
60ede8a verified

A newer version of the Streamlit SDK is available: 1.56.0

Upgrade

CatLLM HuggingFace Summarizer Space

Deployment

Push to: https://huggingface.co/spaces/CatLLM/survey-summarizer

Authentication

HuggingFace token is stored in .env in the parent hf_space directory:

  • Variable: CATLLM_HF_TOKEN
  • Used for pushing to the CatLLM organization space

Architecture

The HuggingFace app should always use the catllm Python package for core functions (summarization). Do not duplicate catllm logic in the app—import and call catllm.summarize() directly. If new functionality is needed (e.g., progress callbacks), add it to the catllm package first, then use it in the app.