Spaces:
Running
Running
Update test5.html
Browse files- test5.html +3 -1
test5.html
CHANGED
|
@@ -113,7 +113,9 @@
|
|
| 113 |
// Hacemos la petici贸n a la API de Hugging Face
|
| 114 |
console.log (window.huggingface.variables);
|
| 115 |
|
| 116 |
-
const cucu = "YOUR_HUGGING_FACE_API_KEY";
|
|
|
|
|
|
|
| 117 |
const response = await fetch(modelUrl, {
|
| 118 |
method: 'POST',
|
| 119 |
headers: {
|
|
|
|
| 113 |
// Hacemos la petici贸n a la API de Hugging Face
|
| 114 |
console.log (window.huggingface.variables);
|
| 115 |
|
| 116 |
+
//const cucu = "YOUR_HUGGING_FACE_API_KEY";
|
| 117 |
+
const cucu = window.huggingface.variables["API_KEY_1"];
|
| 118 |
+
console.log("key es la : " + cucu)
|
| 119 |
const response = await fetch(modelUrl, {
|
| 120 |
method: 'POST',
|
| 121 |
headers: {
|