Segment-and-Track-Anything icon indicating copy to clipboard operation
Segment-and-Track-Anything copied to clipboard

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

Open jacobneveraline opened this issue 1 year ago • 6 comments

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?

jacobneveraline avatar Nov 07 '23 03:11 jacobneveraline

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.

yamy-cheng avatar Nov 08 '23 12:11 yamy-cheng

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

parkan avatar Dec 07 '23 16:12 parkan

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

yamy-cheng avatar Dec 08 '23 02:12 yamy-cheng

This should be added to the installation instructions

rdesc avatar Jan 12 '24 01:01 rdesc

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

rdesc avatar Jan 12 '24 01:01 rdesc

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

it's right

aaron1234567891 avatar Mar 12 '24 02:03 aaron1234567891