Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,7 +20,7 @@ This Streamlit app predicts project delays based on task data, workforce, and we
|
|
| 20 |
## Features
|
| 21 |
- Input project details via a Streamlit interface.
|
| 22 |
- Predict delay probability and generate AI insights.
|
| 23 |
-
- Visualize delay risk with
|
| 24 |
- Save results and PDF to Salesforce.
|
| 25 |
- Download a PDF report.
|
| 26 |
|
|
@@ -32,5 +32,11 @@ This Streamlit app predicts project delays based on task data, workforce, and we
|
|
| 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).
|
|
|
|
| 20 |
## Features
|
| 21 |
- Input project details via a Streamlit interface.
|
| 22 |
- Predict delay probability and generate AI insights.
|
| 23 |
+
- Visualize delay risk with an interactive Chart.js heatmap.
|
| 24 |
- Save results and PDF to Salesforce.
|
| 25 |
- Download a PDF report.
|
| 26 |
|
|
|
|
| 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 |
+
- Includes logging for debugging and rule-based fallback insights if the model fails.
|
| 36 |
+
|
| 37 |
+
## Troubleshooting
|
| 38 |
+
- **AI Insights Unavailable**: Check Space logs for errors (e.g., memory issues, network failures). Restart the Space or reduce `max_new_tokens` in `model.py`.
|
| 39 |
+
- **Slow Inference**: CPU inference may take ~5-10 seconds. Consider switching to `t5-small` for faster performance.
|
| 40 |
+
- **Dependency Errors**: Ensure all dependencies in `requirements.txt` are installed correctly.
|
| 41 |
|
| 42 |
For questions, refer to [Streamlit documentation](https://docs.streamlit.io) or [Hugging Face forums](https://discuss.huggingface.co).
|