Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
@@ -66,7 +66,7 @@
|
|
66 |
<script src="https://cdn.jsdelivr.net/npm/@huggingface/inference@1.5.2/dist/index.min.js"></script>
|
67 |
<script>
|
68 |
// Initialize the Hugging Face Inference SDK
|
69 |
-
const HF = new HfInference(
|
70 |
|
71 |
// Override the generateImage function to use Hugging Face's text-to-image model
|
72 |
async function generateImage(prompt) {
|
|
|
66 |
<script src="https://cdn.jsdelivr.net/npm/@huggingface/inference@1.5.2/dist/index.min.js"></script>
|
67 |
<script>
|
68 |
// Initialize the Hugging Face Inference SDK
|
69 |
+
const HF = new HfInference(Process.env);
|
70 |
|
71 |
// Override the generateImage function to use Hugging Face's text-to-image model
|
72 |
async function generateImage(prompt) {
|