cbensimon's picture
cbensimon HF staff
Update app.py
c4b86bc verified
raw
history blame contribute delete
264 Bytes
import gradio as gr
import open3d_zerogpu_fix
import open3d as o3d
import spaces
@spaces.GPU
def greet(n):
return o3d.core.Tensor([], device=o3d.core.Device("CUDA:0")).device
demo = gr.Interface(fn=greet, inputs=gr.Number(), outputs=gr.Text())
demo.launch()