Spaces:
Sleeping
Sleeping
JustinGerm
commited on
Commit
•
6e019e4
1
Parent(s):
f6cde70
Update app.py
Browse files
app.py
CHANGED
@@ -41,13 +41,13 @@ def calculate_coffee_temp(cooling_time_min, initial_temperature_C, ambient_tempe
|
|
41 |
iface = gr.Interface(
|
42 |
fn=calculate_coffee_temp,
|
43 |
inputs=[
|
44 |
-
("
|
45 |
-
("
|
46 |
-
("
|
47 |
-
("
|
48 |
-
("
|
49 |
],
|
50 |
-
outputs=gr.outputs.
|
51 |
)
|
52 |
|
53 |
iface.launch()
|
|
|
41 |
iface = gr.Interface(
|
42 |
fn=calculate_coffee_temp,
|
43 |
inputs=[
|
44 |
+
gr.inputs.Number(label="Cooling time (minutes)"),
|
45 |
+
gr.inputs.Number(label="Initial temperature of coffee (C)"),
|
46 |
+
gr.inputs.Number(label="Ambient temperature (C)"),
|
47 |
+
gr.inputs.Number(label="Volume of coffee (ml)"),
|
48 |
+
gr.inputs.Number(label="Diameter of mug (mm)")
|
49 |
],
|
50 |
+
outputs=gr.outputs.Textbox(label="Estimated coffee temperature (C)"),
|
51 |
)
|
52 |
|
53 |
iface.launch()
|