ergergegr / app.py
cbensimon's picture
cbensimon HF Staff
Update app.py
dd1b47a
raw
history blame contribute delete
143 Bytes
import gradio as gr
import torch
def greet(n):
return f"{torch.Tensor([n]).cuda()}"
gr.Interface(greet, gr.Number(), gr.Text()).launch()