Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,7 @@ import json
|
|
7 |
from typing import List
|
8 |
import torch
|
9 |
import random
|
|
|
10 |
|
11 |
if torch.cuda.is_available():
|
12 |
device = torch.device("cuda:0")
|
|
|
7 |
from typing import List
|
8 |
import torch
|
9 |
import random
|
10 |
+
import logging
|
11 |
|
12 |
if torch.cuda.is_available():
|
13 |
device = torch.device("cuda:0")
|