roshikhan301 commited on
Commit
a4b4c50
·
verified ·
1 Parent(s): 4d610ee

Update index.html

Browse files
Files changed (1) hide show
  1. 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("YOUR_HUGGING_FACE_API_TOKEN");
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) {