Spaces:
Runtime error
Runtime error
Commit
·
60d35d7
1
Parent(s):
71bc23d
how about this
Browse files
src/components/sign-in-with-hf-button.tsx
CHANGED
|
@@ -88,7 +88,7 @@ export const SignInWithHuggingFaceButton = () => {
|
|
| 88 |
const handleLogin = async () => {
|
| 89 |
window.location.href =
|
| 90 |
(await oauthLoginUrl({
|
| 91 |
-
scopes:
|
| 92 |
})) + "&prompt=consent";
|
| 93 |
};
|
| 94 |
|
|
|
|
| 88 |
const handleLogin = async () => {
|
| 89 |
window.location.href =
|
| 90 |
(await oauthLoginUrl({
|
| 91 |
+
scopes: "inference-api,email",
|
| 92 |
})) + "&prompt=consent";
|
| 93 |
};
|
| 94 |
|