Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
def tempConversion(
|
4 |
-
|
5 |
-
return
|
6 |
|
7 |
demo = gr.Interface(fn=tempConversion, inputs="text", outputs="text")
|
8 |
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
def tempConversion(cel):
|
4 |
+
fah = (cel * 9/5) + 32
|
5 |
+
return fah
|
6 |
|
7 |
demo = gr.Interface(fn=tempConversion, inputs="text", outputs="text")
|
8 |
demo.launch()
|