Skip to content

Commit

Permalink
fix typo (#6818)
Browse files Browse the repository at this point in the history
Signed-off-by: sangjune.park <[email protected]>
  • Loading branch information
park12sj authored Dec 18, 2023
1 parent 67a2b7f commit 51bdf43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)]

```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ _注_:还有第二个参数可控制 Gradio 能够生成的*总*线程数,
import time

def trim_words(word, length):
return w[:int(length)]
return word[:int(length)]

```

Expand Down

0 comments on commit 51bdf43

Please sign in to comment.