Assessment2 / app.py
Shahadbal's picture
Create app.py
8d5ebfd verified
raw
history blame
No virus
241 Bytes
import gradio as gr
#°F = °C * 9/5 + 32
def greet(input):
result = input*(9/5)+32
return "The Celsius degree"+input + "is in Fahrenheit"+ result + "degree"
demo = gr.Interface(fn=greet, inputs="text", outputs="text")
demo.launch()