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