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

gr.Theme.from_hub error #6298

Closed
1 task done
shpower opened this issue Nov 5, 2023 · 2 comments · Fixed by #6311
Closed
1 task done

gr.Theme.from_hub error #6298

shpower opened this issue Nov 5, 2023 · 2 comments · Fixed by #6311
Assignees
Labels
bug Something isn't working

Comments

@shpower
Copy link

shpower commented Nov 5, 2023

Describe the bug

my_theme=gr.Theme.from_hub('xiaobaiyuan/theme_brief@>=1.0.0,<2.0.0')

When I run this line I got this error: raise ValueError(f"{space_info.id} is not a valid gradio-theme space!")
gradio version: 4.1.1

Very urgent!

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

import gradio as gr

my_theme=gr.Theme.from_hub('xiaobaiyuan/theme_brief@>=1.0.0,<2.0.0')

Screenshot

No response

Logs

No response

System Info

gradio version: 4.1.1

Severity

Blocking usage of gradio

@shpower shpower added the bug Something isn't working label Nov 5, 2023
@cowanAI
Copy link

cowanAI commented Nov 6, 2023

also previous versions, all of our themes are not working either @abidlabs

@abidlabs abidlabs self-assigned this Nov 6, 2023
@abidlabs
Copy link
Member

abidlabs commented Nov 6, 2023

Hmm looks like this might be an issue with the huggingface_hub library not parsing tags correctly, I'll push a temporary fix and then create an issue there. cc @Wauplin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants