beam-calculator / app.py
apsora's picture
Upload app.py with huggingface_hub
5605134 verified
raw
history blame contribute delete
283 Bytes
import gradio as gr
def ping(L=3.0): return {"ok": True, "L": float(L)}
demo = gr.Interface(fn=ping, inputs=gr.Number(value=3.0, label="Span L [m]"),
outputs=gr.JSON(label="Result"), title="Beam Calculator (placeholder)")
if __name__ == "__main__": demo.launch()