AjaykumarPilla commited on
Commit
64f83b4
Β·
verified Β·
1 Parent(s): 9518b6f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +23 -6
README.md CHANGED
@@ -1,5 +1,5 @@
1
  ---
2
- title: Delay
3
  emoji: πŸš€
4
  colorFrom: red
5
  colorTo: red
@@ -7,13 +7,30 @@ sdk: docker
7
  app_port: 8501
8
  tags:
9
  - streamlit
 
 
10
  pinned: false
11
- short_description: Streamlit template space
12
  ---
13
 
14
- # Welcome to Streamlit!
15
 
16
- Edit `/src/streamlit_app.py` to customize this app to your heart's desire. :heart:
17
 
18
- If you have any questions, checkout our [documentation](https://docs.streamlit.io) and [community
19
- forums](https://discuss.streamlit.io).
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Delay Predictor
3
  emoji: πŸš€
4
  colorFrom: red
5
  colorTo: red
 
7
  app_port: 8501
8
  tags:
9
  - streamlit
10
+ - distilbart
11
+ - project-delay
12
  pinned: false
13
+ short_description: Streamlit app for project delay prediction using DistilBART
14
  ---
15
 
16
+ # Project Delay Predictor
17
 
18
+ This Streamlit app predicts project delays based on task data, workforce, and weather conditions, using DistilBART (`sshleifer/distilbart-cnn-6-6`) for AI-generated insights. It runs on the free CPU tier of Hugging Face Spaces, generating delay probabilities, insights, and a downloadable PDF report, with integration to Salesforce.
19
 
20
+ ## Features
21
+ - Input project details via a Streamlit interface.
22
+ - Predict delay probability and generate AI insights.
23
+ - Visualize delay risk with a heatmap.
24
+ - Save results and PDF to Salesforce.
25
+ - Download a PDF report.
26
+
27
+ ## Setup
28
+ 1. Ensure Salesforce credentials are set as environment variables (`SF_USERNAME`, `SF_PASSWORD`, `SF_SECURITY_TOKEN`, `SF_INSTANCE_URL`).
29
+ 2. Deploy on a Hugging Face Space with the free CPU tier.
30
+ 3. Access the app at the Space's URL.
31
+
32
+ ## Notes
33
+ - Uses DistilBART for CPU-friendly inference (~5-10 seconds per prediction).
34
+ - Secure model loading with `safetensors` and `trust_remote_code=False`.
35
+
36
+ For questions, refer to [Streamlit documentation](https://docs.streamlit.io) or [Hugging Face forums](https://discuss.huggingface.co).