Merge pull request #13 from CharlesCNorton/patch-1
Browse files
src/synthetic_dataset_generator/utils.py
CHANGED
@@ -48,7 +48,7 @@ def list_orgs(oauth_token: Union[OAuthToken, None] = None):
|
|
48 |
gr.Info(
|
49 |
"Your user token does not have the necessary permissions to push to organizations."
|
50 |
"Please check your OAuth permissions in https://huggingface.co/settings/connected-applications."
|
51 |
-
"Update
|
52 |
)
|
53 |
return []
|
54 |
|
|
|
48 |
gr.Info(
|
49 |
"Your user token does not have the necessary permissions to push to organizations."
|
50 |
"Please check your OAuth permissions in https://huggingface.co/settings/connected-applications."
|
51 |
+
"Update your token permissions to include repo.write: https://huggingface.co/settings/tokens."
|
52 |
)
|
53 |
return []
|
54 |
|