gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
30.56k stars 2.27k forks source link

Error when using .load #8470

Closed fakerybakery closed 2 weeks ago

fakerybakery commented 2 weeks ago

Describe the bug

This happens on the TTS Arena when the Gradio version is bumped from 0.31 -> 0.32

leaderboard.load(get_leaderboard, inputs=[reveal_prelim], outputs=[df])

seems to trigger the synthandreturn function

Have you searched existing issues? 🔎

Reproduction

https://huggingface.co/spaces/TTS-AGI/TTS-Arena/blob/main/app.py

Screenshot

No response

Logs

No response

System Info

I was using the latest version of Gradio

Severity

I can work around it

abidlabs commented 2 weeks ago

Just to confirm, you mean when gradio is bumped from 4.31 to 4.32? And this issue is present even on 4.33 (current latest)?

fakerybakery commented 2 weeks ago

Yes, I was on the latest version before. I rolled back to 4.19 but tested it with 4.31 (worked) and 4.32 (didn't work)

pngwn commented 2 weeks ago

Will take a look. Could be do with some recent changes to the client.

pngwn commented 2 weeks ago

There is a lot going on in that demo, could you provide a minimal reproduction with no dependencies please.

fakerybakery commented 2 weeks ago

Hi, I upgraded from 4.36.0 to 4.36.1 and (strangely) it seemed to work again.

fakerybakery commented 2 weeks ago

Seems to have been documented in #8425 and fixed in #8504

pngwn commented 1 week ago

Awesome, thanks for checking!