Spaces:
Sleeping
Sleeping
Esteves Enzo
commited on
Commit
·
a22946c
1
Parent(s):
1ce932e
add link to the official doc
Browse files
components/editor/main/request.tsx
CHANGED
@@ -24,7 +24,7 @@ export const Request = ({
|
|
24 |
onParamsChange: (key: string, value: string | boolean) => void;
|
25 |
}) => {
|
26 |
const [headers, setHeaders] = usePersistentState("headers", {
|
27 |
-
Authorization: "
|
28 |
});
|
29 |
|
30 |
const [bodyForm, setBodyForm] = useState<Options>({});
|
|
|
24 |
onParamsChange: (key: string, value: string | boolean) => void;
|
25 |
}) => {
|
26 |
const [headers, setHeaders] = usePersistentState("headers", {
|
27 |
+
Authorization: "",
|
28 |
});
|
29 |
|
30 |
const [bodyForm, setBodyForm] = useState<Options>({});
|
components/editor/sidebar.tsx
CHANGED
@@ -84,6 +84,13 @@ export const EditorSidebar = ({
|
|
84 |
)}
|
85 |
</li>
|
86 |
))}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
</ul>
|
88 |
);
|
89 |
};
|
|
|
84 |
)}
|
85 |
</li>
|
86 |
))}
|
87 |
+
<a
|
88 |
+
href="https://huggingface.co/docs/hub/api"
|
89 |
+
target="_blank"
|
90 |
+
className="text-slate-300 font-semibold text-sm p-5 flex absolute bottom-0 xl:bottom-[56px] left-0 w-full bg-slate-950/20 hover:bg-slate-950/30"
|
91 |
+
>
|
92 |
+
See HUB API documentation
|
93 |
+
</a>
|
94 |
</ul>
|
95 |
);
|
96 |
};
|