z-x-yang / Segment-and-Track-Anything

An open-source project dedicated to tracking and segmenting any objects in videos, either automatically or interactively. The primary algorithms utilized include the Segment Anything Model (SAM) for key-frame segmentation and Associating Objects with Transformers (AOT) for efficient tracking and propagation purposes.
GNU Affero General Public License v3.0
2.77k stars 334 forks source link

The 'style' method is deprecated. Please set these arguments in the constructor instead. #116

Open jacobneveraline opened 10 months ago

jacobneveraline commented 10 months ago

after run python app.py ,code can call gradio form,but still have some error message 1699326789121

How to resolve the error with the given code?

yamy-cheng commented 10 months ago

after run python app.py ,code can call gradio form,but still have some error message 1699326789121

How to resolve the error with the given code?

Hi, This warning does not affect the usage. You can resolve this issue by downgrading the gradio version.

parkan commented 9 months ago

gradio 4.8.0 now has fully removed that method and the app does not start

what is the compatible gradio version? can it be added to a requirements.txt?

EDIT: 3.50.2 seems to work, though with the deprecation warning

yamy-cheng commented 9 months ago

hi, you can install gradio==3.39.0 to start.

rdesc commented 8 months ago

This should be added to the installation instructions

rdesc commented 8 months ago

Also needed this httpx==0.24.1 package for webapp to work

aaron1234567891 commented 6 months ago

hi, you can install gradio==3.39.0 to start.

it's right