TheHickman commited on
Commit
89ab26c
·
verified ·
1 Parent(s): cdcdbc0

remove loose }

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -376,7 +376,7 @@ image = pipe(prompt).images[0]
376
  You can use <a href="https://github.com/huggingface/huggingface.js">huggingface.js</a> to infer text-to-image models on Hugging Face Hub.
377
  </p>
378
  <pre style="background: #f5f5f5; padding: 15px; border-radius: 5px; overflow-x: auto;">
379
- import {{} InferenceClient }} from "@huggingface/inference";
380
 
381
  const inference = new InferenceClient(HF_TOKEN);
382
  await inference.textToImage({{
 
376
  You can use <a href="https://github.com/huggingface/huggingface.js">huggingface.js</a> to infer text-to-image models on Hugging Face Hub.
377
  </p>
378
  <pre style="background: #f5f5f5; padding: 15px; border-radius: 5px; overflow-x: auto;">
379
+ import {{ InferenceClient }} from "@huggingface/inference";
380
 
381
  const inference = new InferenceClient(HF_TOKEN);
382
  await inference.textToImage({{