Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
GustavoYe
/
StuMS
like
0
Sleeping
App
Files
Files
Community
3203f38
StuMS
/
app.py
GustavoYe
add reqs
3203f38
over 2 years ago
raw
Copy download link
history
blame
202 Bytes
import
gradio
as
gr
def
greet
(
name
):
import
torch
return
f"Hello
{name}
, we are using torch
{torch.__version__}
"
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch()