basicpytorch / app.py
x0x7's picture
Removing share for spaces
ef4ef29
raw
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)