Lenylvt commited on
Commit
aac41e3
β€’
1 Parent(s): 0774f71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -42,8 +42,7 @@ iface = gr.Interface(
42
  inputs=[gr.Textbox(lines=2, placeholder="Enter text to translate..."), source_language_dropdown, target_language_dropdown],
43
  outputs=gr.Textbox(),
44
  title="Translator API",
45
- description="We use model from [Language Technology Research Group at the University of Helsinki](https://huggingface.co/Helsinki-NLP). For web use please visit [this space](https://huggingface.co/spaces/Lenylvt/Translator). πŸ”΄ If you have this error : Failed to load model for fr to aa: Helsinki-NLP/opus-mt-fr-aa is not a local folder and is not a valid model identifier listed on https://huggingface.co/models
46
- If this is a private repository, make sure to pass a token having permission to this repo either by logging in with huggingface-cli login or by passing token=<your_token> - its because the language is not available."
47
  )
48
 
49
  iface.launch()
 
42
  inputs=[gr.Textbox(lines=2, placeholder="Enter text to translate..."), source_language_dropdown, target_language_dropdown],
43
  outputs=gr.Textbox(),
44
  title="Translator API",
45
+ description="We use model from [Language Technology Research Group at the University of Helsinki](https://huggingface.co/Helsinki-NLP). For web use please visit [this space](https://huggingface.co/spaces/Lenylvt/Translator). πŸ”΄ If you have this error : 'Failed to load model for fr to aa: Helsinki-NLP/opus-mt-fr-aa is not a local folder and is not a valid model identifier listed on https://huggingface.co/models If this is a private repository, make sure to pass a token having permission to this repo either by logging in with huggingface-cli login or by passing token=<your_token>', its because the language is not available."
 
46
  )
47
 
48
  iface.launch()