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

env #242

Open
newworld1020 opened this issue Mar 8, 2025 · 1 comment
Open

env #242

newworld1020 opened this issue Mar 8, 2025 · 1 comment

Comments

@newworld1020
Copy link

all needs:activate omni

models->weights

python gradio_demo.py

cd OmniParser/omnitool/omniparserserver
python -m omniparserserver

Windows 11 Enterprise Evaluation (90-day trial, English, United States) ISO rename->custom.iso

custom.iso复制OmniParser/omnitool/omnibox/vm/win11iso

cd OmniParser/omnitool/omnibox/scripts
docker->>>

./manage_vm.sh create
or
.\manage_vm.ps1 create

when VM + server is up and running!

./manage_vm.sh start
or
.\manage_vm.ps1 start

http://localhost:8006/vnc.html?view_only=1&autoconnect=1&resize=scale

test:http://localhost:5000/probe
it will print
{
"message": "Service is operational",
"status": "Probe successful"
}

activate omni

cd OmniParser/omnitool/gradio

python app.py --windows_host_url localhost:8006 --omniparser_server_url localhost:8000

api::r1-error
gpt or qwen2.5vl

if http://localhost:5000/probe error
open vm
install python
if python version error
forbidden python 2
install python 3.12
git clone omniparser
pip install -r requirments.txt
then ->find win11setup->winscripts->server->main.py
python main.py
print:::::
(omni) D:\OmniParser\omnitool\omnibox\vm\win11setup\setupscripts\server>python main.py

  • Serving Flask app 'main'
  • Debug mode: on
@newworld1020
Copy link
Author

input apikey and operations
start

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

1 participant