mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-12 12:40:29 +08:00
Fix typo in 01_getting-started-with-the-python-client.md (#10843)
This commit is contained in:
parent
fe8c06afb5
commit
30a0deb8f1
@ -199,7 +199,7 @@ client.predict(
|
||||
|
||||
## Running jobs asynchronously
|
||||
|
||||
Oe should note that `.predict()` is a _blocking_ operation as it waits for the operation to complete before returning the prediction.
|
||||
One should note that `.predict()` is a _blocking_ operation as it waits for the operation to complete before returning the prediction.
|
||||
|
||||
In many cases, you may be better off letting the job run in the background until you need the results of the prediction. You can do this by creating a `Job` instance using the `.submit()` method, and then later calling `.result()` on the job to get the result. For example:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user