Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,12 +1,25 @@
|
|
| 1 |
---
|
| 2 |
-
title: Cantilever Rectangular
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Cantilever Rectangular Beam — Point Load (General)
|
| 3 |
+
emoji: 🏗️
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: blue
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: "4.44.0"
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Cantilever Rectangular Beam — Point Load (Free End or at Position a)
|
| 13 |
+
|
| 14 |
+
A Gradio app that computes **max bending stress**, **yield FoS**, **free-end deflection**, and **deflection FoS (L/180)** for a **cantilever rectangular beam** with a **point load at the free end or at distance a**.
|
| 15 |
+
It prints explicit arithmetic (with `*`) so students can *see the math*, and generates a one-sentence, friendly explanation using a tiny LLM when available.
|
| 16 |
+
|
| 17 |
+
## Run locally
|
| 18 |
+
```bash
|
| 19 |
+
pip install -r requirements.txt
|
| 20 |
+
python app.py
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
## Notes
|
| 24 |
+
- If Transformers/Torch aren't available in the Space, the app gracefully falls back to a deterministic one-liner.
|
| 25 |
+
- Educational demo (Euler–Bernoulli, small deflection); not a full design code check.
|