Lenylvt commited on
Commit
73346f7
β€’
1 Parent(s): 8084b82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -86,3 +86,9 @@ if file_input is not None and source_language_code and target_language_code:
86
  file_name="translated_subtitles.srt",
87
  mime="text/plain",
88
  )
 
 
 
 
 
 
 
86
  file_name="translated_subtitles.srt",
87
  mime="text/plain",
88
  )
89
+
90
+ st.markdown("""
91
+ ### Some Error you can have:
92
+ - **If into your file your have** : Failed to load model for aa to ab: Helsinki-NLP/opus-mt-aa-ab 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 loginor by passingtoken=<your_token>` **its because the translation is currently not supported**.
93
+ - **If into your file your have** : Translation between the same languages is not supported, **just change your language**.
94
+ """)