cbensimon's picture
cbensimon HF Staff
Create app.py
71402dd
raw
history blame
203 Bytes
import gradio as gr
import torch
print(f'{torch.cuda.is_available()=}')
def greet(name):
return "Hello " + name + "!!"
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
iface.launch()