mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-07 11:46:51 +08:00
Ensure @gradio/client
's submit
iterator releases as expected (#8715)
* close the iterator when the prediction stream completes * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
740364e5ce
commit
a6b3c6ce4e
6
.changeset/itchy-cities-walk.md
Normal file
6
.changeset/itchy-cities-walk.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"@gradio/client": patch
|
||||
"gradio": patch
|
||||
---
|
||||
|
||||
fix:Ensure `@gradio/client`'s `submit` iterator releases as expected
|
@ -684,6 +684,8 @@ export function submit(
|
||||
endpoint: _endpoint,
|
||||
fn_index
|
||||
});
|
||||
|
||||
close();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user