Spaces:
Runtime error
Runtime error
Kushwanth Chowday Kandala
commited on
update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ import torch
|
|
23 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
24 |
|
25 |
if device != 'cuda':
|
26 |
-
|
27 |
"a CUDA-enabled GPU. If on colab you can chnage this by "
|
28 |
"clicking Runtime > change runtime type > GPU.")
|
29 |
|
|
|
23 |
device = 'cuda' if torch.cuda.is_available() else 'cpu'
|
24 |
|
25 |
if device != 'cuda':
|
26 |
+
st.title(f"you are using {device}. This is much slower than using "
|
27 |
"a CUDA-enabled GPU. If on colab you can chnage this by "
|
28 |
"clicking Runtime > change runtime type > GPU.")
|
29 |
|