Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,8 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
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()
|