Skip to content

Commit 084abaf

Browse files
committed
Update README.md
1 parent 81aa352 commit 084abaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ await inference.imageToText({
180180

181181
// Using your own dedicated inference endpoint: https://hf.co/docs/inference-endpoints/
182182
const gpt2 = inference.endpoint('https://xyz.eu-west-1.aws.endpoints.huggingface.cloud/gpt2');
183-
const { generated_text } = await gpt2.textGeneration({inputs: 'The answer to the universe is'});
183+
const { generated_text } = await gpt2.textGeneration({ inputs: 'The answer to the universe is' });
184184

185185
// Chat Completion
186186
const llamaEndpoint = inference.endpoint(

0 commit comments

Comments
 (0)