lampongyuen commited on
Commit
a441d47
·
1 Parent(s): 9a23331

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def greet(image, name, is_morning, temperature):
22
  salutation = "Good morning" if is_morning else "Good evening"
23
  greeting = f"{salutation} {name}. It is {temperature} degrees today"
24
  celsius = (temperature - 32) * 5 / 9
25
- return greeting, round(celsius, 2)
26
 
27
  demo = gr.Interface(
28
  fn=greet,
 
22
  salutation = "Good morning" if is_morning else "Good evening"
23
  greeting = f"{salutation} {name}. It is {temperature} degrees today"
24
  celsius = (temperature - 32) * 5 / 9
25
+ return image, greeting, round(celsius, 2)
26
 
27
  demo = gr.Interface(
28
  fn=greet,