drrobot9 commited on
Commit
5423133
·
verified ·
1 Parent(s): 1712d51

Update app/agents/crew_pipeline.py

Browse files
Files changed (1) hide show
  1. app/agents/crew_pipeline.py +1 -2
app/agents/crew_pipeline.py CHANGED
@@ -80,8 +80,7 @@ translation_model = AutoModelForSeq2SeqLM.from_pretrained(
80
 
81
  )
82
 
83
- if DEVICE == 'cpu':
84
- translation_model = translation_model.to('cpu')
85
 
86
 
87
 
 
80
 
81
  )
82
 
83
+
 
84
 
85
 
86