Update README, add a tutorial

This commit is contained in:
oobabooga 2025-12-02 09:52:03 -08:00
parent 26b49b176c
commit cd80d0f62d
2 changed files with 22 additions and 0 deletions

View file

@ -28,6 +28,8 @@ A Gradio web UI for Large Language Models.
- 100% offline and private, with zero telemetry, external resources, or remote update requests.
- **File attachments**: Upload text files, PDF documents, and .docx documents to talk about their contents.
- **Vision (multimodal models)**: Attach images to messages for visual understanding ([tutorial](https://github.com/oobabooga/text-generation-webui/wiki/Multimodal-Tutorial)).
Image generation: A dedicated tab for diffusers models like Z-Image-Turbo and Qwen-Image. Features 4-bit/8-bit quantization and a persistent gallery with metadata (tutorial).
- **Image generation**: A dedicated tab for `diffusers` models like **Z-Image-Turbo** and **Qwen-Image**. Features 4-bit/8-bit quantization and a persistent gallery with metadata ([tutorial](https://github.com/oobabooga/text-generation-webui/wiki/Image-Generation-Tutorial)).
- **Web search**: Optionally search the internet with LLM-generated queries to add context to the conversation.
- Aesthetic UI with dark and light themes.
- Syntax highlighting for code blocks and LaTeX rendering for mathematical expressions.

View file

@ -0,0 +1,20 @@
# Image Generation Tutorial
This feature allows you to generate images using high-speed models like Z-Image-Turbo directly within the web UI.
## How to use (Easiest Method)
1. Click on the **Image AI** tab at the top of the interface.
2. Select the **Model** sub-tab.
3. Copy and paste the following link into the **Download model** box:
```
[https://huggingface.co/Tongyi-MAI/Z-Image-Turbo](https://huggingface.co/Tongyi-MAI/Z-Image-Turbo)
```
4. Click the **Download** button and wait for the confirmation message.
5. In the **Model** dropdown menu, select the model you just downloaded (if you don't see it, click the 🔄 refresh button).
6. Click **Load**.
7. Go to the **Generate** sub-tab, type a prompt, and click **GENERATE**.
> **Note for Z-Image-Turbo:** For the best results with this specific model, keep the **CFG Scale** slider at **0**.