GithubHelp home page GithubHelp logo

Comments (16)

singersbalm avatar singersbalm commented on September 25, 2024
  1. Press power button to start Mac
  2. Login with password
  3. Open the terminal
  4. Git clone the repo
  5. Cd into project
  6. Follow the installation guide
  7. Follow the instructions in the readme the run the project

from manga-image-translator.

Bender-V avatar Bender-V commented on September 25, 2024

Docket

[batch] Running in batch mode
ERROR: [batch] Exception: No input image was supplied. Use -i <image_path>

from manga-image-translator.

singersbalm avatar singersbalm commented on September 25, 2024

I'm sorry what do you expect me to answer on that. The error message describes the issue and how to fix it: "No input image was supplied. Use -i <image_path>"

from manga-image-translator.

eren-ay avatar eren-ay commented on September 25, 2024

I use it on both mac and windows, it's exactly the same.
pip install -r requirements.txt
pip install git+https://github.com/kodalli/pydensecrf.git
create a image folder in the manga_translator
write python -m manga_translator -v --translator=google -l ENG -i
./manga_translator/

from manga-image-translator.

Bender-V avatar Bender-V commented on September 25, 2024

I downloaded docker, installed everything. When I run it, I get an error.

[batch] Running in batch mode
ERROR: [batch] Exception: No input image was supplied. Use -i <image_path>

from manga-image-translator.

singersbalm avatar singersbalm commented on September 25, 2024

I recommend reading the error. Translating it with google translate to a language you are able to speak will probably help. For further infos look at the readme. These are the possible args https://github.com/zyddnys/manga-image-translator#options

There is no issue with the installation and it seems to work as intended

from manga-image-translator.

eren-ay avatar eren-ay commented on September 25, 2024

You don't need to install with docker just go terminal
git clone https://github.com/zyddnys/manga-image-translator.git
cd manga-image-translator
pip install -r requirements.txt
pip install git+https://github.com/kodalli/pydensecrf.git
python -m manga_translator -v --translator=google -l ENG -i

i don't recommend google translate you can use sugoi or chatgpt

from manga-image-translator.

singersbalm avatar singersbalm commented on September 25, 2024

@eren-ay always use venv or conda

docker is usually easier to install. I think the issue was created because he can’t speak English and therefore does not understand the instructionsY of no -I is given in batch mode it won’t work on end operating system.

from manga-image-translator.

Bender-V avatar Bender-V commented on September 25, 2024

You don't need to install with docker just go terminal git clone https://github.com/zyddnys/manga-image-translator.git cd manga-image-translator pip install -r requirements.txt pip install git+https://github.com/kodalli/pydensecrf.git python -m manga_translator -v --translator=google -l ENG -i

i don't recommend google translate you can use sugoi or chatgpt

Thanks, it worked.
Help me, how do I set up gpt?
I have a key, but it is not readable by the script.

from manga-image-translator.

singersbalm avatar singersbalm commented on September 25, 2024

Define the Env variable. Read the readme!!!

from manga-image-translator.

Bender-V avatar Bender-V commented on September 25, 2024

Define the Env variable. Read the readme!!!

I created a file called API key.env
I put it in the folder
manga-image-translator
I run the command
python3 -m manga_translator -v --translator=gpt3 -l
I get an ERROR: [batch] MissingAPIKeyException: Please set the OPENAI_API_KEY environment variable before using the chatgpt translator.
Traceback (most recent call last):

from manga-image-translator.

singersbalm avatar singersbalm commented on September 25, 2024

With read the docs I meant read the god damn docks. There are examples for basic stuff like this. docker run --env="DEEPL_AUTH_KEY=xxx" --ipc=host --rm zyddnys/manga-image-translator:main <cli flags>.
Even if it isn't in the docs wouldn't it be easier to use a search engine or chat gpt?
https://duckduckgo.com/?q=define+env+variable+operating+system

btw Dotenv files aren't meant to have a prefix & the application needs to have dotenv support which this project does not!

from manga-image-translator.

Bender-V avatar Bender-V commented on September 25, 2024

@eren-ay I'm sorry, I don't understand.
I'm working with python, not docker.
What command do I need to add
python -m manga_translator -v --translator=gpt4 -l ENG -I
To translate through GPT?

from manga-image-translator.

singersbalm avatar singersbalm commented on September 25, 2024

Stbu

from manga-image-translator.

singersbalm avatar singersbalm commented on September 25, 2024

BTW this question is a duplicate & not related to python or this project

from manga-image-translator.

eren-ay avatar eren-ay commented on September 25, 2024

@Bender-V you don't need key.env
path ./manga_translator/translators/keys.py
in this file
change OPENAI_API_KEY = os.getenv('OPENAI_API_KEY', 'change here')
sorry for my late answer

from manga-image-translator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.