gradio/scripts/format_backend.sh
Abubakar Abid 0dc49b4c51
Add support for async functions and async generators to gr.ChatInterface (#5116)
* add support for async functions and iterators to ChatInterface

* fix api

* added support to examples

* add tests

* chat

* add changeset

* typing

* chat interface

* anyio

* anyio generator

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-08-08 15:57:55 -04:00

11 lines
272 B
Bash
Executable File

#!/bin/bash
cd "$(dirname ${0})/.."
echo "Formatting the backend... Our style follows the Black code style."
ruff --fix gradio test
black gradio test
bash scripts/type_check_backend.sh
bash client/python/scripts/format.sh # Call the client library's formatting script