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