OmniParser icon indicating copy to clipboard operation
OmniParser copied to clipboard

No files matching the pattern were found

Open sby-a-izumi opened this issue 3 months ago • 4 comments

After setting up the environment by following the tutorial, I ran gradio_demo.py and encountered the following error:

> python .\gradio_demo.py

[2024-11-05 18:06:25,042] [ WARNING] easyocr.py:80 - Neither CUDA nor MPS are available - defaulting to CPU. Note: This module is much faster with a GPU.
Florence2LanguageForConditionalGeneration has generative capabilities, as `prepare_inputs_for_generation` is explicitly overwritten. However, it doesn't directly inherit from `GenerationMixin`. From 👉v4.50👈 onwards, `PreTrainedModel` will NOT inherit from `GenerationMixin`, and this model will lose the ability to call `generate` and other related functions.
  - If you're using `trust_remote_code=True`, you can get rid of this warning by loading the model with an auto class. See https://huggingface.co/docs/transformers/en/model_doc/auto#auto-classes
  - If you are the owner of the model architecture code, please modify your model class such that it inherits from `GenerationMixin` (after `PreTrainedModel`, otherwise you'll get an exception).
  - If you are not the owner of the model architecture class, please contact the model code owner to update it.
No files matching the pattern were found
* Running on local URL:  http://0.0.0.0:7861
2024/11/05 18:06:46 [W] [service.go:132] login to server failed: dial tcp <IP>:7000: i/o timeout

Could not create share link. Please check your internet connection or our status page: https://status.gradio.app.

sby-a-izumi avatar Nov 05 '24 09:11 sby-a-izumi