Skip to content
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

解决了Windows 和 Mac 安装常见问题 #859

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

YUHOUCHAXING
Copy link

@YUHOUCHAXING YUHOUCHAXING commented Apr 9, 2024

我与同学(一个使用Mac 一个使用Windows)共同遇到以下问题,希望其他人不再遇到此问题
According to #839 and #832

I fixed the ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (5,) + inhomogeneous part.

And I also fixed AttrubuteError: module numpy has no attribute 'float'

Finally, I fixed the AttributeError: 'Row' object has no attribute 'style'

I fixed the `ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (5,) + inhomogeneous part.`

And I also fixed `AttrubuteError: module `numpy` has no attribute 'float'`

Finally, I fixed the `AttributeError: 'Row' object has no attribute 'style'`
Copy link

@ericdum ericdum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. gradio == 3.5 is works, but 3.50 might better.
  2. np.float is a deprecated alias for the built-in float, thus change to float is ok.
  3. I've double checked the dtype, the last two params is array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants