MrVicente commited on
Commit
7c59cdd
·
1 Parent(s): a7c96e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -3,6 +3,7 @@ from transformers import (
3
  BartForConditionalGeneration,
4
  BartTokenizer
5
  )
 
6
 
7
  def get_device():
8
  # If there's a GPU available...
 
3
  BartForConditionalGeneration,
4
  BartTokenizer
5
  )
6
+ import torch
7
 
8
  def get_device():
9
  # If there's a GPU available...