text-generation-inference/docs
Adrien Gallouët 3498f6085e
Update Gradio ChatInterface configuration in consuming_tgi.md (#3042)
The current code does not work and gives the following message:

    UserWarning: You have not specified a value for the `type` parameter. Defaulting to the 'tuples' format for chatbot messages, but this is deprecated and will be removed in a future version of Gradio. Please set type='messages' instead, which uses openai-style dictionaries with 'role' and 'content' keys.
      warnings.warn(
    Traceback (most recent call last):
      File "/Users/angt/hf/tgi/test-gradio.py", line 22, in <module>
        gr.ChatInterface(
    TypeError: ChatInterface.__init__() got an unexpected keyword argument 'retry_btn'

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2025-02-21 10:11:28 +01:00
..
source Update Gradio ChatInterface configuration in consuming_tgi.md (#3042) 2025-02-21 10:11:28 +01:00
index.html chore: add pre-commit (#1569) 2024-02-16 11:58:58 +01:00
openapi.json Prepare for release 3.1.0 (#2972) 2025-01-31 14:19:01 +01:00
README.md Update documentation version to 2.0.4 (#1980) 2024-05-31 16:03:24 +02:00

Documentation available at: https://huggingface.co/docs/text-generation-inference

Release

When making a release, please update the latest version in the documentation with:

export OLD_VERSION="2\.0\.3"
export NEW_VERSION="2\.0\.4"
find . -name '*.md' -exec sed -i -e "s/$OLD_VERSION/$NEW_VERSION/g" {} \;