Spaces:
Sleeping
Sleeping
devjas1
commited on
Commit
Β·
e2ae453
1
Parent(s):
529bbd6
(UI/UX): update sidebar content for clarity and add links to resources
Browse files
app.py
CHANGED
|
@@ -5,11 +5,11 @@ This is an adapted version of the Streamlit app optimized for Hugging Face Space
|
|
| 5 |
It maintains all the functionality of the original app while being self-contained and cloud-ready.
|
| 6 |
"""
|
| 7 |
|
| 8 |
-
BUILD_LABEL = "proof-2025-08-24-01"
|
| 9 |
-
import os, streamlit as st, sys
|
| 10 |
-
st.sidebar.caption(
|
| 11 |
-
|
| 12 |
-
)
|
| 13 |
|
| 14 |
import os
|
| 15 |
import sys
|
|
@@ -329,29 +329,36 @@ def main():
|
|
| 329 |
# Sidebar
|
| 330 |
with st.sidebar:
|
| 331 |
st.header("βΉοΈ About This App")
|
| 332 |
-
st.markdown("""
|
| 333 |
-
**AIRE 2025 Internship Project**
|
| 334 |
AI-Driven Polymer Aging Prediction and Classification
|
| 335 |
-
|
| 336 |
π― **Purpose**: Classify polymer degradation using AI
|
| 337 |
-
π **Input**: Raman spectroscopy
|
| 338 |
π§ **Models**: CNN architectures for binary classification
|
| 339 |
-
|
| 340 |
-
**
|
| 341 |
-
- **Mentor**: Dr. Sanmukh Kuppannagari
|
| 342 |
-
- **Mentor**: Dr. Metin Karailyan
|
| 343 |
-
- **Author**: Jaser Hasan
|
| 344 |
-
|
| 345 |
-
π [GitHub Repository](https://github.com/KLab-AI3/ml-polymer-recycling)
|
| 346 |
-
|
| 347 |
-
π **Model Credit**: Baseline model inspired by *Figure 2 CNN* from:
|
| 348 |
|
| 349 |
-
|
| 350 |
-
> *Deep learning for chemometric analysis of plastic spectral data from infrared and Raman databases*.
|
| 351 |
-
> *Resources, Conservation & Recycling*, **188**, 106718.
|
| 352 |
|
| 353 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 354 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 355 |
""")
|
| 356 |
|
| 357 |
st.markdown("---")
|
|
|
|
| 5 |
It maintains all the functionality of the original app while being self-contained and cloud-ready.
|
| 6 |
"""
|
| 7 |
|
| 8 |
+
# BUILD_LABEL = "proof-2025-08-24-01"
|
| 9 |
+
# import os, streamlit as st, sys
|
| 10 |
+
# st.sidebar.caption(
|
| 11 |
+
# f"Build: {BUILD_LABEL} | __file__: {__file__} | cwd: {os.getcwd()} | py: {sys.version.split()[0]}"
|
| 12 |
+
# )
|
| 13 |
|
| 14 |
import os
|
| 15 |
import sys
|
|
|
|
| 329 |
# Sidebar
|
| 330 |
with st.sidebar:
|
| 331 |
st.header("βΉοΈ About This App")
|
| 332 |
+
st.sidebar.markdown("""
|
|
|
|
| 333 |
AI-Driven Polymer Aging Prediction and Classification
|
| 334 |
+
|
| 335 |
π― **Purpose**: Classify polymer degradation using AI
|
| 336 |
+
π **Input**: Raman spectroscopy `.txt` files
|
| 337 |
π§ **Models**: CNN architectures for binary classification
|
| 338 |
+
πΎ **Current**: Figure2CNN (baseline)
|
| 339 |
+
π **Next**: More trained CNNs in evaluation pipeline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 340 |
|
| 341 |
+
---
|
|
|
|
|
|
|
| 342 |
|
| 343 |
+
**Team**
|
| 344 |
+
π¨βπ« Dr. Sanmukh Kuppannagari (Mentor)
|
| 345 |
+
π¨βπ« Dr. Metin Karailyan (Mentor)
|
| 346 |
+
π¨βπ» Jaser Hasan (Author)
|
| 347 |
+
|
| 348 |
+
---
|
| 349 |
+
|
| 350 |
+
**Links**
|
| 351 |
+
π [Live HF Space](https://huggingface.co/spaces/dev-jas/polymer-aging-ml)
|
| 352 |
+
π [GitHub Repository](https://github.com/KLab-AI3/ml-polymer-recycling)
|
| 353 |
|
| 354 |
+
---
|
| 355 |
+
|
| 356 |
+
**Model Credit**
|
| 357 |
+
Baseline model inspired by *Figure 2 CNN* from:
|
| 358 |
+
Neo, E.R.K., Low, J.S.C., Goodship, V., Debattista, K. (2023).
|
| 359 |
+
*Deep learning for chemometric analysis of plastic spectral data from infrared and Raman databases*.
|
| 360 |
+
_Resources, Conservation & Recycling_, **188**, 106718.
|
| 361 |
+
[https://doi.org/10.1016/j.resconrec.2022.106718](https://doi.org/10.1016/j.resconrec.2022.106718)
|
| 362 |
""")
|
| 363 |
|
| 364 |
st.markdown("---")
|