Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| import spaces | |
| import torch | |
| import subprocess | |
| zero = torch.Tensor([0]).cuda() | |
| print(zero.device) # <-- 'cpu' 🤔 | |
| subprocess.run(['bash', 'assets/uv-installer.sh']) | |
| demo = gr.Interface(fn=greet, inputs=grsd, outputs=grff) | |
| demo.launch() | |