eljanmahammadli commited on
Commit
d0177bd
1 Parent(s): 5eee1b2
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -266,8 +266,6 @@ command = ['python', '-m', 'spacy', 'download', 'en_core_web_sm']
266
  subprocess.run(command)
267
  nlp = spacy.load("en_core_web_sm")
268
 
269
- nlp = spacy.load("en_core_web_sm")
270
-
271
  # for perplexity
272
  device = "cuda" if torch.cuda.is_available() else "cpu"
273
  model_id = "gpt2"
 
266
  subprocess.run(command)
267
  nlp = spacy.load("en_core_web_sm")
268
 
 
 
269
  # for perplexity
270
  device = "cuda" if torch.cuda.is_available() else "cpu"
271
  model_id = "gpt2"