TiberiuCristianLeon commited on
Commit
67377a2
·
verified ·
1 Parent(s): 67e6acc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -4,6 +4,7 @@ from transformers import T5Tokenizer, T5ForConditionalGeneration, AutoTokenizer,
4
  import torch
5
  import os
6
  import httpx
 
7
 
8
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
9
  # Language options and mappings
 
4
  import torch
5
  import os
6
  import httpx
7
+ import languagecodes
8
 
9
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
10
  # Language options and mappings