text-generation-inference/docs/source/basic_tutorials
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
..
consuming_tgi.md Update Gradio ChatInterface configuration in consuming_tgi.md (#3042) 2025-02-21 10:11:28 +01:00
gated_model_access.md Prepare for release 3.1.0 (#2972) 2025-01-31 14:19:01 +01:00
monitoring.md docs: Fix grafana dashboard url (#1925) 2024-05-21 13:12:14 -04:00
non_core_models.md chore: add pre-commit (#1569) 2024-02-16 11:58:58 +01:00
preparing_model.md Update Quantization docs and minor doc fix. (#2368) 2024-08-08 16:06:57 -04:00
safety.md Pickle conversion now requires --trust-remote-code. (#1704) 2024-04-05 13:32:53 +02:00
train_medusa.md fix small typo and broken link (#1958) 2024-05-27 11:31:06 -04:00
using_cli.md chore: add pre-commit (#1569) 2024-02-16 11:58:58 +01:00
using_guidance.md Update using_guidance.md (#2901) 2025-01-13 11:09:35 +01:00
visual_language_models.md Update Quantization docs and minor doc fix. (#2368) 2024-08-08 16:06:57 -04:00