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
33.05k stars 2.49k forks source link

Custom values are not supported when 'multiselect' is True ? #8304

Closed xudong2019 closed 5 months ago

xudong2019 commented 5 months ago

Describe the bug

I am running llama factory on a cluster, and encounter this issue: ValueError: Custom values are not supported when 'multiselect' is True ?

Any one can give me suggestions on this issue? thanks

ec4a129d2c96a8a6be51c797dccd9a8

Have you searched existing issues? 🔎

Reproduction

import gradio as gr

Screenshot

No response

Logs

No response

System Info

gradio version:3.38.0
gradio Dependencies:aiofiles:23.2.1
aiohttp: 3.9.3
altair: 5.3.0
fastapi: 0.110.1
ffmpy: 0.3.2
gradio-client: 0.16.3
httpx: 0.27.0huggingface-hub: 0.22.2
jinja2: 3.1.4

Severity

Blocking usage of gradio

abidlabs commented 5 months ago

Hi @xudong2019 yes we've fixed this issue in recent releases of gradio, so please upgrade:

pip install --upgrade gradio