Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -48,6 +48,7 @@ with gr.Blocks() as demo:
|
|
| 48 |
|
| 49 |
specs = [cylinder, bore, stroke, cooling]
|
| 50 |
out = gr.Textbox()
|
| 51 |
-
gr.
|
|
|
|
| 52 |
|
| 53 |
demo.launch()
|
|
|
|
| 48 |
|
| 49 |
specs = [cylinder, bore, stroke, cooling]
|
| 50 |
out = gr.Textbox()
|
| 51 |
+
b1 = gr.Button("Calculate engine power!")
|
| 52 |
+
b1.click(fn=infer, inputs=specs, outputs=out)
|
| 53 |
|
| 54 |
demo.launch()
|