16pramodh commited on
Commit
f6d028f
·
verified ·
1 Parent(s): f02b5ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,6 +1,7 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
  import os
 
4
 
5
  # Set the cache directory for Hugging Face models to ensure they are saved within the Space
6
  os.environ['HUGGINGFACE_HUB_CACHE'] = '/app/.cache/huggingface/hub'
 
1
  from transformers import pipeline
2
  import gradio as gr
3
  import os
4
+ from transformers import NllbTokenizer
5
 
6
  # Set the cache directory for Hugging Face models to ensure they are saved within the Space
7
  os.environ['HUGGINGFACE_HUB_CACHE'] = '/app/.cache/huggingface/hub'