ziyangmai commited on
Commit
8a72b5c
1 Parent(s): ffb7d36

transformer move cache

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -7,6 +7,10 @@ import spaces
7
  from train import main as train_main
8
  from inference import inference as inference_main
9
 
 
 
 
 
10
  @spaces.GPU()
11
  def inference_app(
12
  embedding_dir,
 
7
  from train import main as train_main
8
  from inference import inference as inference_main
9
 
10
+ import transformers
11
+ transformers.utils.move_cache()
12
+
13
+
14
  @spaces.GPU()
15
  def inference_app(
16
  embedding_dir,