Signed-off-by: sangjune.park <sangjune.park@navercorp.com>
This commit is contained in:
sangjune.park 2023-12-18 21:11:44 +09:00 committed by GitHub
parent 67a2b7f12c
commit 51bdf4381a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ Here's an example of a function that does _not_ accept a batch of inputs -- it p
import time
def trim_words(word, length):
return w[:int(length)]
return word[:int(length)]
```

View File

@ -66,7 +66,7 @@ _注_还有第二个参数可控制 Gradio 能够生成的*总*线程数,
import time
def trim_words(word, length):
return w[:int(length)]
return word[:int(length)]
```