Spaces:
Sleeping
Sleeping
devjas1
commited on
Commit
·
df8f4dc
1
Parent(s):
9e65713
fix(results): Enhance user guidance in results column with detailed instructions and supported data formats
Browse files- modules/ui_components.py +29 -1
modules/ui_components.py
CHANGED
|
@@ -892,7 +892,35 @@ def render_results_column():
|
|
| 892 |
)
|
| 893 |
|
| 894 |
else:
|
| 895 |
-
st.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 896 |
else:
|
| 897 |
# ===Getting Started===
|
| 898 |
st.markdown(
|
|
|
|
| 892 |
)
|
| 893 |
|
| 894 |
else:
|
| 895 |
+
st.markdown(
|
| 896 |
+
"""
|
| 897 |
+
##### How to Get Started
|
| 898 |
+
|
| 899 |
+
1. **Select an AI Model:** Use the dropdown menu in the sidebar to choose a model.
|
| 900 |
+
2. **Provide Your Data:** Select one of the three input modes:
|
| 901 |
+
- **Upload File:** Analyze a single spectrum.
|
| 902 |
+
- **Batch Upload:** Process multiple files at once.
|
| 903 |
+
- **Sample Data:** Explore functionality with pre-loaded examples.
|
| 904 |
+
3. **Run Analysis:** Click the "Run Analysis" button to generate the classification results.
|
| 905 |
+
|
| 906 |
+
---
|
| 907 |
+
|
| 908 |
+
##### Supported Data Format
|
| 909 |
+
|
| 910 |
+
- **File Type:** Plain text (`.txt`)
|
| 911 |
+
- **Content:** Must contain two columns: `wavenumber` and `intensity`.
|
| 912 |
+
- **Separators:** Values can be separated by spaces or commas.
|
| 913 |
+
- **Preprocessing:** Your spectrum will be automatically resampled to 500 data points to match the model's input requirements.
|
| 914 |
+
|
| 915 |
+
---
|
| 916 |
+
|
| 917 |
+
##### Example Applications
|
| 918 |
+
- 🔬 Research on polymer degradation
|
| 919 |
+
- ♻️ Recycling feasibility assessment
|
| 920 |
+
- 🌱 Sustainability impact studies
|
| 921 |
+
- 🏭 Quality control in manufacturing
|
| 922 |
+
"""
|
| 923 |
+
)
|
| 924 |
else:
|
| 925 |
# ===Getting Started===
|
| 926 |
st.markdown(
|