basicpytorch / app.py
x0x7's picture
Add the app
c93f6af
raw
history blame
176 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=True)