alc15492 commited on
Commit
09f7489
1 Parent(s): 7392c90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
app.py CHANGED
@@ -1,3 +1,8 @@
1
  import gradio as gr
 
2
 
3
- gr.Interface.load("models/alc15492/MSemoji30").launch()
 
 
 
 
 
1
  import gradio as gr
2
+ import torch
3
 
4
+ # Check on if GPU upgrade is working
5
+ print(f"Is CUDA available: {torch.cuda.is_available()}")
6
+ print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
7
+
8
+ gr.Interface.load("models/alc15492/MSemoji30").launch()