Spaces:
Sleeping
Sleeping
File size: 283 Bytes
5605134 |
1 2 3 4 5 6 |
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()
|