File size: 266 Bytes
7392c90
09f7489
7392c90
09f7489
 
 
 
 
1
2
3
4
5
6
7
8
9
import gradio as gr
import torch

# Check on if GPU upgrade is working
print(f"Is CUDA available: {torch.cuda.is_available()}")
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")

gr.Interface.load("models/alc15492/MSemoji30").launch()