A newer version of the Gradio SDK is available:
6.3.0
metadata
title: Cantilever Rectangular Beam — Point Load (General)
emoji: 🏗️
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
Cantilever Rectangular Beam — Point Load (Free End or at Position a)
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.
It prints explicit arithmetic (with *) so students can see the math, and generates a one-sentence, friendly explanation using a tiny LLM when available.
Run locally
pip install -r requirements.txt
python app.py
Notes
- If Transformers/Torch aren't available in the Space, the app gracefully falls back to a deterministic one-liner.
- Educational demo (Euler–Bernoulli, small deflection); not a full design code check.