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