Skip to content

Fixing dependecy conflict, add port argument and allign readme.md#2

Open
FunkyOz wants to merge 6 commits intovlorenzo:mainfrom
FunkyOz:fix-dependecy-conflict
Open

Fixing dependecy conflict, add port argument and allign readme.md#2
FunkyOz wants to merge 6 commits intovlorenzo:mainfrom
FunkyOz:fix-dependecy-conflict

Conversation

@FunkyOz
Copy link
Copy Markdown

@FunkyOz FunkyOz commented Sep 3, 2024

I changed the goggle translations library cause the previous one had conflicts with openai library (see ssut/py-googletrans#400).
The solution explained in this issue does not work so I decide to migrate to pygoogletranslation, at the version 2.0.5 (instead of 2.0.6 cause is broken too). The apis of these libraries are the same so I changed only one line of the code. Now we're able to install requirement directly from requirements.txt without any workaround.
Additionally I make two other changes:

  • Add port number to the main command, so we can change it if requires. Default port is 5000.
  • Modify the README.md cause was not alligned with the code.

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

Successfully merging this pull request may close these issues.

1 participant