-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'dataset' #5017
Comments
Can you please upgrade your version of gradio_client? |
how to upgrade my version of gradio_client? |
Is it possible to use version 3.37.0? |
I find the same problem with 3.36.0. I try the same code on 3.37.0,now the problem is solved. Thanks for reply. |
My gradio app is deployed on huggingface spaces. the version of gradio_client is defined in Dockerfile. The build logs is as follows: --> RUN useradd -m -u 1000 user --> WORKDIR /home/user/app --> RUN apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install --> RUN pip install --no-cache-dir pip==22.3.1 && pip install --no-cache-dir datasets "huggingface-hub>=0.12.1" "protobuf<4" "click<8.1" "pydantic~=1.0" --> RUN --mount=target=/root/packages.txt,source=packages.txt apt-get update && xargs -r -a /root/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/* --> RUN --mount=target=pre-requirements.txt,source=pre-requirements.txt pip install --no-cache-dir -r pre-requirements.txt DONE 7.0s DONE 9.3s --> RUN --mount=target=requirements.txt,source=requirements.txt pip install --no-cache-dir -r requirements.txt [notice] A new release of pip available: 22.3.1 -> 23.2.1 --> RUN pip install --no-cache-dir gradio==3.36.1 [notice] A new release of pip available: 22.3.1 -> 23.2.1 --> COPY --link --chown=1000 --from=lfs /app /home/user/app --> COPY --link --chown=1000 ./ /home/user/app --> Pushing image --> Exporting cache |
In addation,this issue occurred after I added some gr.Examples(). After I tried to delete all gr.Examples(), the problem disappeared. |
Hi @vax521, the issue is that you can't simply update the I think we can close this issue, but feel free to respond if this doesn't work for you! |
|
I have this error when launching Stable Diffusion (MackBook M2 Max). Can you tell me what I need to correct? Running on local URL: http://127.0.0.1:7860 To create a public link, set |
you may need to upgrade the version of your gradio to 3.37.0. |
Describe the bug
The UI is displayed normally, but the function cannot be used。
Have you searched existing issues? 🔎
Reproduction
https://huggingface.co/spaces/xiaofeifei/HRMaster
Screenshot
No response
Logs
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: