Spaces:
Running
Running
MeYourHint
commited on
Commit
•
3f20a52
1
Parent(s):
832b516
Minor
Browse files
app.py
CHANGED
@@ -1,14 +1,15 @@
|
|
1 |
from functools import partial
|
2 |
import os
|
3 |
-
|
4 |
import torch
|
|
|
|
|
5 |
import numpy as np
|
6 |
import gradio as gr
|
7 |
import random
|
8 |
import shutil
|
9 |
|
10 |
-
|
11 |
-
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
12 |
|
13 |
import os
|
14 |
from os.path import join as pjoin
|
|
|
1 |
from functools import partial
|
2 |
import os
|
3 |
+
print("Starting")
|
4 |
import torch
|
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 |
import numpy as np
|
8 |
import gradio as gr
|
9 |
import random
|
10 |
import shutil
|
11 |
|
12 |
+
|
|
|
13 |
|
14 |
import os
|
15 |
from os.path import join as pjoin
|