Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
import gradio as gr
|
|
|
|
|
|
|
|
|
|
|
2 |
def update(name):
|
3 |
return f"Welcome to Gradio, {name}!"
|
4 |
|
|
|
1 |
import gradio as gr
|
2 |
+
import torch
|
3 |
+
import os
|
4 |
+
os.system("nvidia-smi")
|
5 |
+
print("TORCH_CUDA", torch.cuda.is_available())
|
6 |
+
|
7 |
def update(name):
|
8 |
return f"Welcome to Gradio, {name}!"
|
9 |
|