Git Product home page Git Product logo

Comments (6)

yumingfan-0219 avatar yumingfan-0219 commented on June 11, 2024 1

可能的原因:
RuntimeError: Failed to import transformers.generation.utils because of the following error (look up to see its traceback):
'FieldInfo' object has no attribute 'required'

我先前遇到上述bug,降级了pydantic到2.0以下,然而这似乎会使得和gradio4.0.2不兼容
microsoft/DeepSpeed#3963

是否有办法可以在不降级pydantic的前提下解决该问题?

from qwen-agent.

tuhahaha avatar tuhahaha commented on June 11, 2024

没粘贴上图片?

from qwen-agent.

yumingfan-0219 avatar yumingfan-0219 commented on June 11, 2024

f36dd934a69cbd0f8db0de681cc01d93

from qwen-agent.

yumingfan-0219 avatar yumingfan-0219 commented on June 11, 2024

似乎浏览器抽风了,图片没传上去,抱歉

from qwen-agent.

tuhahaha avatar tuhahaha commented on June 11, 2024

我本地gradio版本3.41.1, pydantic版本2.4.2,也许你可以重新安装一个gradio版本

from qwen-agent.

yumingfan-0219 avatar yumingfan-0219 commented on June 11, 2024

d63f0ed3680f36d88cfc48d5c21fbec1
界面变成了这样的情况,不知道您是否遇到过

from qwen-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.