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()