Spaces:
Sleeping
Sleeping
File size: 470 Bytes
1963f53 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
"""
app to test the environment of hugging face
"""
import os, sys
import gradio as gr
import torch
if __name__ == '__main__':
# debug print
print("CUDA_HOME:", os.getenv('CUDA_HOME'))
print("CUDA_PATH:", os.getenv("CUDA_PATH"))
print("CUDA available?", torch.cuda.is_available())
demo = gr.Blocks(title="HDM Interaction Reconstruction Demo")
with demo:
input_rgb = gr.Image(label='Input RGB', type='numpy')
demo.queue().launch() |