Jingshu commited on
Commit
e15852f
·
verified ·
1 Parent(s): 8f9985f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ from transformers.cache_utils import DynamicCache
4
  import torch
5
  import itertools
6
  from threading import Thread
 
7
 
8
  DEVICE = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
9
  MODEL_IDS = [
 
4
  import torch
5
  import itertools
6
  from threading import Thread
7
+ import spaces
8
 
9
  DEVICE = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
10
  MODEL_IDS = [