Spaces:
Runtime error
Runtime error
File size: 176 Bytes
c93f6af |
1 2 3 4 5 6 7 8 9 |
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)
|