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

invalid literal for int() with base 10: '1080+0+0' #54

Open
sosacrazy126 opened this issue Dec 11, 2024 · 1 comment
Open

invalid literal for int() with base 10: '1080+0+0' #54

sosacrazy126 opened this issue Dec 11, 2024 · 1 comment

Comments

@sosacrazy126
Copy link

im on ubuntu i did the inital setup downloaded model from hg and ran the app.py and im getting this issue and dont know where to begin to look to troubleshoot

e "/home/lame/miniconda3/lib/python3.12/site-packages/gradio/queueing.py", line 712, in process_events

response = await route_utils.call_process_api(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/lame/miniconda3/lib/python3.12/site-packages/gradio/route_utils.py", line 323, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lame/miniconda3/lib/python3.12/site-packages/gradio/blocks.py", line 2043, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lame/miniconda3/lib/python3.12/site-packages/gradio/blocks.py", line 1602, in call_function
prediction = await utils.async_iteration(iterator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lame/miniconda3/lib/python3.12/site-packages/gradio/utils.py", line 710, in async_iteration
return await anext(iterator)
^^^^^^^^^^^^^^^^^^^^^
File "/home/lame/miniconda3/lib/python3.12/site-packages/gradio/utils.py", line 704, in anext
return await anyio.to_thread.run_sync(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lame/miniconda3/lib/python3.12/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lame/miniconda3/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 2441, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "/home/lame/miniconda3/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 943, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lame/miniconda3/lib/python3.12/site-packages/gradio/utils.py", line 687, in run_sync_iterator_async
return next(iterator)
^^^^^^^^^^^^^^
File "/home/lame/miniconda3/lib/python3.12/site-packages/gradio/utils.py", line 848, in gen_wrapper
response = next(iterator)
^^^^^^^^^^^^^^
File "/home/lame/workspace/computer_use_ootb/app.py", line 264, in process_input
for loop_msg in sampling_loop_sync(
File "/home/lame/workspace/computer_use_ootb/computer_use_demo/loop.py", line 138, in sampling_loop_sync
executor = ShowUIExecutor(
^^^^^^^^^^^^^^^
File "/home/lame/workspace/computer_use_ootb/computer_use_demo/executor/showui_executor.py", line 31, in init
self.screen_bbox = self._get_screen_resolution()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/lame/workspace/computer_use_ootb/computer_use_demo/executor/showui_executor.py", line 262, in _get_screen_resolution
width, height = map(int, resolution.split('x'))
^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '1080+0+0'

@h-siyuan
Copy link
Collaborator

Most of our tests are done on windows and macos, we will look into this problem:)

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