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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,9 +1,9 @@
1
  import gradio as gr
2
 
3
  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
 
 
1
  import gradio as gr
2
 
3
  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