Ammar971 commited on
Commit
9121609
·
1 Parent(s): c9214a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ def greet(name, is_morning, temp):
4
  salutatuin = "Gm" if is_morning else "Ge"
5
  greeting = f"{salutatuin} {name}. It is {temp} degress today"
6
  celsius = (temp - 32) * 5 /9
7
- return greeting, round(celsius, 2)
8
 
9
 
10
  demo = gr.Interface(fn=greet, inputs=["text", "checkbox", gr.Slider(0,50)], outputs=["text", "number"])
 
4
  salutatuin = "Gm" if is_morning else "Ge"
5
  greeting = f"{salutatuin} {name}. It is {temp} degress today"
6
  celsius = (temp - 32) * 5 /9
7
+ return greeting, round(celsius, 2)
8
 
9
 
10
  demo = gr.Interface(fn=greet, inputs=["text", "checkbox", gr.Slider(0,50)], outputs=["text", "number"])