Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
x0x7
/
basicpytorch
like
0
Runtime error
App
Files
Files
Community
ef4ef29
basicpytorch
/
app.py
x0x7
Removing share for spaces
ef4ef29
over 1 year ago
raw
Copy download link
history
blame
177 Bytes
import
gradio
as
gr
import
torch
def
greet
(
name
):
return
torch.cuda.is_available()
iface = gr.Interface(fn=greet, inputs=
"text"
, outputs=
"text"
)
iface.launch(share=
False
)