Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding languages in GUI? #515

Open
Snikhil25 opened this issue Jan 22, 2025 · 2 comments
Open

Adding languages in GUI? #515

Snikhil25 opened this issue Jan 22, 2025 · 2 comments

Comments

@Snikhil25
Copy link

I need to add below mentioned languages in the GUI section and somewhat successful in achieving it.
"bn", "gu", "hi", "kn", "ml", "mr", "ta", "te"

but everytime I am running the gui.py file I am getting
high_level.py", line 114, in translate_patch page_layout = model.predict(image, imgsz=int(pix.height / 32) * 32)[0] AttributeError: 'NoneType' object has no attribute 'predict'

Is there a way to resolve this? If yes, how?

@awwaawwa
Copy link
Contributor

Please provide more information, such as your modified complete code. Thank you.

@Snikhil25
Copy link
Author

Snikhil25 commented Jan 23, 2025

I figured out where I was making mistakes, and it has been resolved. Thank you for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants