Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
app.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
def ping(L=3.0): return {"ok": True, "L": float(L)}
|
| 3 |
+
demo = gr.Interface(fn=ping, inputs=gr.Number(value=3.0, label="Span L [m]"),
|
| 4 |
+
outputs=gr.JSON(label="Result"), title="Beam Calculator (placeholder)")
|
| 5 |
+
if __name__ == "__main__": demo.launch()
|