Solved API submission issue (#3783)

* Solved API submission issue

* changelog

---------

Co-authored-by: Devang Chavan <devang@pop-os.localdomain>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
This commit is contained in:
Devang Chavan 2023-04-07 13:39:13 +05:30 committed by GitHub
parent b456feb5c4
commit b5e342cad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ No changes to highlight.
- Add ability to specify `rows`, `columns` and `object-fit` in `style()` for `gr.Gallery()` component by [@dawoodkhan82](https://github.com/dawoodkhan82) in [PR 3586](https://github.com/gradio-app/gradio/pull/3586)
- Fix bug where recording an audio file through the microphone resulted in a corrupted file name by [@abidlabs](https://github.com/abidlabs) in [PR 3770](https://github.com/gradio-app/gradio/pull/3770)
- Fix bug where iterators where not being reset for processes that terminated early by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 3735](https://github.com/gradio-app/gradio/pull/3777)
- Fix bug where use Via API button was giving error by [@Devang-C](https://github.com/Devang-C) in [PR 3783](https://github.com/gradio-app/gradio/pull/3783)
## Documentation Changes:

View File

@ -72,7 +72,7 @@
return;
}
let [response, status_code] = await post_data(
`${root}/run/${dependency.api_name}`,
`${root}run/${dependency.api_name}`,
{
data: inputs
}