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

Add Spaces to Task Data #561

Merged
merged 1 commit into from
Dec 19, 2022
Merged

Add Spaces to Task Data #561

merged 1 commit into from
Dec 19, 2022

Conversation

beurkinger
Copy link
Contributor

@beurkinger beurkinger commented Dec 14, 2022

required for https://github.com/huggingface/moon-landing/pull/4861

This PR add a "spaces" attribute to the TaskData, used for displaying a Spaces section on the Task Page.

Note: I run the linted on the config files, so it may be better to check "Hide whitespace" in the "Files changed" tab :)

Copy link
Contributor

@merveenoyan merveenoyan left a comment

Choose a reason for hiding this comment

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

LGTM, @osanseviero do you have an objection?

@@ -58,6 +58,7 @@ const taskData: TaskDataCustom = {
id: "superb/hubert-large-superb-er",
},
],
spaces: [],
Copy link
Contributor

Choose a reason for hiding this comment

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

What are the keys for the dict in this list? description & id?

Copy link
Member

Choose a reason for hiding this comment

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

it's an ExampleRepo same as the other repo types

Copy link
Contributor

@osanseviero osanseviero left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! No objections

@merveenoyan
Copy link
Contributor

maybe we could merge after the one on 🌜🛩 is merged 😅

@osanseviero
Copy link
Contributor

Actually this one will need to be merged before https://github.com/huggingface/moon-landing/pull/4861, as the internal one depends on this

@beurkinger beurkinger merged commit 8d15aac into main Dec 19, 2022
@beurkinger beurkinger deleted the task-spaces branch December 19, 2022 12:05
Copy link
Member

@julien-c julien-c left a comment

Choose a reason for hiding this comment

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

i haven't followed too much, the actual data will be filled in some subsequent PRs?

@osanseviero
Copy link
Contributor

Yes, Merve is curating a list of spaces, which is shared in Slack in the task pages channel

@merveenoyan
Copy link
Contributor

@julien-c PR is here #589

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.

4 participants