CoolFace
Apppublic

chuckc/Confluence_Sum

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
App README

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:

  1. 1.NVIDIA Confluence API:
  2. 2.NVIDIA_CONF_USER_ID: Your NVIDIA Confluence user ID
  3. 3.NVIDIA_CONF_API_KEY: Your NVIDIA Confluence API key
  1. 1.NVIDIA AI Foundation Models API:
  2. 2.NVIDIA_API_KEY: Your NVIDIA AI Foundation Models API key

To set up these keys in Hugging Face Spaces:

  1. 1.Go to your Space's settings
  2. 2.Under "Repository secrets", add the above keys as secrets

Usage

  1. 1.Enter a Confluence page URL in the provided input field
  2. 2.Click "Summarize" to generate a summary and related files
  3. 3.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

  1. 1.Install dependencies: pip install -r requirements.txt
  2. 2.Create a .env file with the required API keys
  3. 3.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.