chuckc/Confluence_Sum
0
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
Confluence Page Summarizer
This Streamlit app summarizes Confluence pages using NVIDIA AI Foundation Models. It retrieves content from a given Confluence URL, summarizes it, and provides downloadable files including a PowerPoint presentation of the summary.
Features
- Summarize Confluence pages
- Generate PowerPoint presentations
- Download full content and summary text files
- Token usage tracking
Configuration
This app requires the following API keys:
- NVIDIA Confluence API:
NVIDIA_CONF_USER_ID: Your NVIDIA Confluence user IDNVIDIA_CONF_API_KEY: Your NVIDIA Confluence API key
- NVIDIA AI Foundation Models API:
NVIDIA_API_KEY: Your NVIDIA AI Foundation Models API key
To set up these keys in Hugging Face Spaces:
- Go to your Space's settings
- Under "Repository secrets", add the above keys as secrets
Usage
- Enter a Confluence page URL in the provided input field
- Click "Summarize" to generate a summary and related files
- Download the generated files (PowerPoint, full content, and summary)
Note: Users need to provide their own API keys to use the app when deployed publicly.
Local Development
- Install dependencies:
pip install -r requirements.txt - Create a
.envfile with the required API keys - Run the app:
streamlit run app.py
Deployment
This app is configured for deployment on Hugging Face Spaces. The configuration details are specified in the YAML header of this README.
