Nojoodalnahdi commited on
Commit
c220eb7
1 Parent(s): a2f3460

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import gradio as gr
2
 
3
  def fah (cel):
 
4
  fah=cel*9/5+23
5
  return "fahrenheit: " + fah + "f"
6
 
 
1
  import gradio as gr
2
 
3
  def fah (cel):
4
+ cel=float(cel)
5
  fah=cel*9/5+23
6
  return "fahrenheit: " + fah + "f"
7