Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ayajoharji
/
Q2test
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
e651c49
Q2test
/
app.py
ayajoharji
Create app.py
e651c49
verified
6 months ago
raw
Copy download link
history
blame
Safe
188 Bytes
import
gradio
as
gr
def
c_to_f
(
c
):
f = c *
9
/
5
+
32
return
f"
{c}
celcius is equal to
{f}
fehrenhite"
demo = gr.Interface(fn=c_to_f, inputs=
"number"
, outputs=
"text"
)
demo.launch()