gradio/js/chatbot/CHANGELOG.md
Gradio PR Bot 8e5b5a201e
chore: update versions (#9790)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-25 12:33:07 -07:00

52 KiB

@gradio/chatbot

0.16.1

Fixes

  • #9769 3b9ed29 - Fix avatar image placement in Chatbot. Thanks @hannahblair!

Dependency updates

  • @gradio/markdown-code@0.2.1
  • @gradio/video@0.11.6
  • @gradio/statustracker@0.9.3
  • @gradio/atoms@0.10.1
  • @gradio/client@1.7.1
  • @gradio/image@0.16.6
  • @gradio/upload@0.13.5
  • @gradio/plot@0.9.0
  • @gradio/gallery@0.13.6

0.16.0

Features

Fixes

  • #9653 61cd768 - Ensures tabs with visible set to false are not visible. Thanks @hannahblair!

Dependency updates

  • @gradio/video@0.11.5
  • @gradio/statustracker@0.9.2
  • @gradio/atoms@0.10.0
  • @gradio/icons@0.8.1
  • @gradio/markdown-code@0.2.0
  • @gradio/upload@0.13.4
  • @gradio/plot@0.8.0
  • @gradio/gallery@0.13.5
  • @gradio/image@0.16.5

0.15.2

Fixes

  • #9730 39a0e8c - Fix chatbot component streaming bug and visible bug. Thanks @freddyaboulton!

Dependency updates

  • @gradio/markdown@0.10.3
  • @gradio/statustracker@0.9.1
  • @gradio/upload@0.13.3
  • @gradio/video@0.11.4
  • @gradio/atoms@0.9.2
  • @gradio/gallery@0.13.4
  • @gradio/plot@0.7.3
  • @gradio/image@0.16.4

0.15.1

Dependency updates

  • @gradio/video@0.11.3
  • @gradio/markdown@0.10.2
  • @gradio/atoms@0.9.1
  • @gradio/statustracker@0.9.0
  • @gradio/client@1.7.0
  • @gradio/upload@0.13.2
  • @gradio/wasm@0.14.2
  • @gradio/gallery@0.13.3
  • @gradio/plot@0.7.2
  • @gradio/image@0.16.3

0.15.0

Features

  • #9660 3407b50 - Chat Interface Functional test Fix + Chat Examples Center. Thanks @dawoodkhan82!

Fixes

  • #9676 fd0264f - Fix Audio in Chatbot bug. Thanks @freddyaboulton!

0.14.2

Dependency updates

  • @gradio/upload@0.13.1
  • @gradio/image@0.16.2
  • @gradio/video@0.11.2
  • @gradio/wasm@0.14.1
  • @gradio/gallery@0.13.2

0.14.1

Features

  • #9617 c163182 - Fix dark mode detection and container height. Thanks @pngwn!
  • #9623 5923c67 - Fix Chatbot Examples Error. Thanks @freddyaboulton!
  • #9614 5d98550 - Fix retry and undo reactivity in gr.Chatbot. Thanks @hannahblair!
  • #9619 1f3ee97 - Fix Functional Tests. Thanks @dawoodkhan82!

Fixes

  • #9630 2eaa066 - Fix duplicate attribute error. Thanks @pngwn!

Dependency updates

  • @gradio/video@0.11.1
  • @gradio/statustracker@0.8.1
  • @gradio/gallery@0.13.1
  • @gradio/markdown@0.10.1
  • @gradio/plot@0.7.1
  • @gradio/image@0.16.1

0.14.0

Features

Fixes

  • #8843 6f95286 - Ensure undo/try shows for final bot message in gr.Chatbot

Dependencies

  • @gradio/atoms@0.9.0
  • @gradio/client@1.6.0
  • @gradio/gallery@0.13.0
  • @gradio/icons@0.8.0
  • @gradio/markdown@0.10.0
  • @gradio/plot@0.7.0
  • @gradio/statustracker@0.8.0
  • @gradio/theme@0.3.0
  • @gradio/upload@0.13.0
  • @gradio/utils@0.7.0
  • @gradio/wasm@0.14.0

0.14.0-beta.9

Fixes

  • #9600 9f71086 - Ensure undo/try shows for final bot message in gr.Chatbot. Thanks @hannahblair!

0.14.0-beta.8

Features

  • #9593 cc61fe7 - Some more chatbot fixes. Thanks @dawoodkhan82!
  • #9582 43a7f42 - Chatbot autoscroll. Thanks @whitphx!
  • #9598 ffc33fa - Fix markdown code copy/check button in gr.Chatbot. Thanks @hannahblair!
  • #9499 17e6c84 - Fix gr.Chatbot panels layout. Thanks @hannahblair!

Dependency updates

  • @gradio/upload@0.13.0-beta.7
  • @gradio/statustracker@0.8.0-beta.5
  • @gradio/icons@0.8.0-beta.4
  • @gradio/atoms@0.9.0-beta.5
  • @gradio/image@0.16.0-beta.7
  • @gradio/video@0.11.0-beta.7
  • @gradio/markdown@0.10.0-beta.5
  • @gradio/gallery@0.13.0-beta.7
  • @gradio/plot@0.7.0-beta.6

0.14.0-beta.7

Features

  • #9571 148345d - Fix chatinterface embedding height issues. Thanks @aliabid94!

Dependency updates

  • @gradio/video@0.11.0-beta.6
  • @gradio/statustracker@0.8.0-beta.4
  • @gradio/atoms@0.9.0-beta.4
  • @gradio/client@1.6.0-beta.4
  • @gradio/upload@0.13.0-beta.6
  • @gradio/image@0.16.0-beta.6
  • @gradio/gallery@0.13.0-beta.6
  • @gradio/markdown@0.10.0-beta.4
  • @gradio/plot@0.7.0-beta.5

0.14.0-beta.6

Features

  • #9488 4e6a47f - Fixes: Chatbot examples for custom chatbot + rename suggestions -> examples. Thanks @dawoodkhan82!

Dependency updates

  • @gradio/upload@0.13.0-beta.5
  • @gradio/statustracker@0.8.0-beta.3
  • @gradio/video@0.11.0-beta.5
  • @gradio/icons@0.8.0-beta.3
  • @gradio/atoms@0.9.0-beta.3
  • @gradio/markdown@0.10.0-beta.3
  • @gradio/gallery@0.13.0-beta.5
  • @gradio/plot@0.7.0-beta.4
  • @gradio/image@0.16.0-beta.5

0.14.0-beta.5

Dependency updates

  • @gradio/statustracker@0.8.0-beta.2
  • @gradio/upload@0.13.0-beta.4
  • @gradio/markdown@0.10.0-beta.2
  • @gradio/image@0.16.0-beta.4
  • @gradio/video@0.11.0-beta.4
  • @gradio/wasm@0.14.0-beta.3
  • @gradio/plot@0.7.0-beta.3
  • @gradio/gallery@0.13.0-beta.4

0.14.0-beta.4

Features

0.14.0-beta.3

Dependency updates

  • @gradio/upload@0.13.0-beta.3
  • @gradio/video@0.11.0-beta.3
  • @gradio/client@1.6.0-beta.3
  • @gradio/gallery@0.13.0-beta.3
  • @gradio/image@0.16.0-beta.3

0.14.0-beta.2

Features

  • #9359 50c3a7f - Small tweak to how thoughts are shown in gr.Chatbot. Thanks @abidlabs!
  • #9323 06babda - Disable liking user message in chatbot by default but make it configurable. Thanks @freddyaboulton!
  • #8966 8e52b6a - Chatbot Examples. Thanks @dawoodkhan82!
  • #9261 73647a0 - Move icons into IconButtonWrapper. Thanks @hannahblair!
  • #9316 4338f29 - 9227 chatinterface retry bug. Thanks @freddyaboulton!
  • #9313 1fef9d9 - Standardize height across components and add max_height and min_height parameters where appropriate. Thanks @abidlabs!
  • #9339 4c8c6f2 - Ssr part 2. Thanks @pngwn!

Dependency updates

  • @gradio/atoms@0.9.0-beta.2
  • @gradio/gallery@0.13.0-beta.2
  • @gradio/upload@0.13.0-beta.2
  • @gradio/wasm@0.14.0-beta.2
  • @gradio/markdown@0.10.0-beta.2
  • @gradio/client@1.6.0-beta.2
  • @gradio/icons@0.8.0-beta.2
  • @gradio/statustracker@0.8.0-beta.2
  • @gradio/utils@0.7.0-beta.2
  • @gradio/plot@0.6.5-beta.2
  • @gradio/image@0.16.0-beta.2
  • @gradio/video@0.11.0-beta.2

0.14.0-beta.1

Features

  • #9201 5492e74 - Move buttons from chat_interface into Chatbot. Thanks @freddyaboulton!
  • #9187 5bf00b7 - make all component SSR compatible. Thanks @pngwn!

Dependency updates

  • @gradio/video@0.11.0-beta.1
  • @gradio/atoms@0.8.1-beta.1
  • @gradio/icons@0.8.0-beta.1
  • @gradio/statustracker@0.8.0-beta.1
  • @gradio/utils@0.7.0-beta.1
  • @gradio/client@1.6.0-beta.1
  • @gradio/image@0.16.0-beta.1
  • @gradio/upload@0.12.4-beta.1
  • @gradio/markdown@0.9.4-beta.1
  • @gradio/wasm@0.13.1-beta.1
  • @gradio/theme@0.3.0-beta.1
  • @gradio/gallery@0.13.0-beta.1
  • @gradio/plot@0.6.5-beta.1

0.13.1

Features

  • #9187 5bf00b7 - make all component SSR compatible. Thanks @pngwn!

Fixes

  • #9163 2b6cbf2 - fix exports and generate types. Thanks @pngwn!

Dependency updates

  • @gradio/utils@0.6.1
  • @gradio/statustracker@0.7.6
  • @gradio/atoms@0.8.1
  • @gradio/icons@0.7.2
  • @gradio/wasm@0.13.1
  • @gradio/client@1.5.2
  • @gradio/upload@0.12.4
  • @gradio/markdown@0.9.4
  • @gradio/gallery@0.12.2
  • @gradio/theme@0.2.5
  • @gradio/plot@0.6.5
  • @gradio/image@0.15.1
  • @gradio/video@0.10.4

0.13.0

Features

  • #9013 5350f1f - Add copy all messages button to chatbot. Thanks @hannahblair!
  • #9118 e1c404d - setup npm-previews of all packages. Thanks @pngwn!
  • #9102 efdc323 - Initial SSR refactor. Thanks @pngwn!

Fixes

  • #9161 173c7b8 - Chatbot Image size and list fixes. Thanks @dawoodkhan82!

Dependency updates

  • @gradio/utils@0.6.0
  • @gradio/upload@0.12.3
  • @gradio/atoms@0.8.0
  • @gradio/client@1.5.1
  • @gradio/markdown@0.9.3
  • @gradio/statustracker@0.7.5
  • @gradio/theme@0.2.4
  • @gradio/wasm@0.13.0
  • @gradio/gallery@0.12.1
  • @gradio/icons@0.7.1
  • @gradio/plot@0.6.4
  • @gradio/image@0.15.0
  • @gradio/video@0.10.3

0.12.4

Fixes

  • #8847 4d8a473 - Refactor Chatinterface to use Chatbot instead of gr.State variables. Thanks @freddyaboulton!

Dependency updates

  • @gradio/atoms@0.7.9
  • @gradio/statustracker@0.7.4
  • @gradio/client@1.5.0
  • @gradio/gallery@0.12.0
  • @gradio/icons@0.7.0
  • @gradio/upload@0.12.2
  • @gradio/markdown@0.9.2
  • @gradio/plot@0.6.3
  • @gradio/image@0.14.0
  • @gradio/audio@0.13.2
  • @gradio/video@0.10.2

0.12.3

Dependency updates

  • @gradio/atoms@0.7.8
  • @gradio/icons@0.6.1
  • @gradio/utils@0.5.2
  • @gradio/statustracker@0.7.3
  • @gradio/upload@0.12.1
  • @gradio/image@0.13.1
  • @gradio/video@0.10.1
  • @gradio/audio@0.13.1
  • @gradio/gallery@0.11.4
  • @gradio/markdown@0.9.1
  • @gradio/plot@0.6.2

0.12.2

Fixes

  • #8865 2f630ab - Chatbot Examples Scroll Fix. Thanks @dawoodkhan82!

Dependency updates

  • @gradio/audio@0.13.0
  • @gradio/video@0.10.0
  • @gradio/wasm@0.12.0
  • @gradio/markdown@0.9.0
  • @gradio/client@1.4.0
  • @gradio/image@0.13.0
  • @gradio/statustracker@0.7.2
  • @gradio/upload@0.12.0
  • @gradio/atoms@0.7.7
  • @gradio/gallery@0.11.3
  • @gradio/plot@0.6.1

0.12.1

Features

  • #8766 2b4636e - Fix width of assistant's chatbot bubble. Thanks @pngwn!

0.12.0

Highlights

Support message format in chatbot 💬 (#8422 4221290)

gr.Chatbot and gr.ChatInterface now support the Messages API, which is fully compatible with LLM API providers such as Hugging Face Text Generation Inference, OpenAI's chat completions API, and Llama.cpp server.

Building Gradio applications around these LLM solutions is now even easier!

gr.Chatbot and gr.ChatInterface now have a type parameter that can accept two values - 'tuples' and 'messages'. If set to 'tuples', the default chatbot data format is expected. If set to 'messages', a list of dictionaries with content and role keys is expected. See below -

def chat_greeter(msg, history):
    history.append({"role": "assistant", "content": "Hello!"})
    return history

Additionally, gradio now exposes a gr.ChatMessage dataclass you can use for IDE type hints and auto completion.

image

Tool use in Chatbot 🛠️

The Gradio Chatbot can now natively display tool usage and intermediate thoughts common in Agent and chain-of-thought workflows!

If you are using the new "messages" format, simply add a metadata key with a dictionary containing a title key and value. This will display the assistant message in an expandable message box to show the result of a tool or intermediate step.

import gradio as gr
from gradio import ChatMessage
import time

def generate_response(history):
    history.append(ChatMessage(role="user", content="What is the weather in San Francisco right now?"))
    yield history
    time.sleep(0.25)
    history.append(ChatMessage(role="assistant",
                               content="In order to find the current weather in San Francisco, I will need to use my weather tool.")
                               )
    yield history
    time.sleep(0.25)

    history.append(ChatMessage(role="assistant",
                               content="API Error when connecting to weather service.",
                              metadata={"title": "💥 Error using tool 'Weather'"})
                  )
    yield history
    time.sleep(0.25)

    history.append(ChatMessage(role="assistant",
                               content="I will try again",
                              ))
    yield history
    time.sleep(0.25)

    history.append(ChatMessage(role="assistant",
                               content="Weather 72 degrees Fahrenheit with 20% chance of rain.",
                                metadata={"title": "🛠️ Used tool 'Weather'"}
                              ))
    yield history
    time.sleep(0.25)

    history.append(ChatMessage(role="assistant",
                               content="Now that the API succeeded I can complete my task.",
                              ))
    yield history
    time.sleep(0.25)

    history.append(ChatMessage(role="assistant",
                               content="It's a sunny day in San Francisco with a current temperature of 72 degrees Fahrenheit and a 20% chance of rain. Enjoy the weather!",
                              ))
    yield history


with gr.Blocks() as demo:
    chatbot  = gr.Chatbot(type="messages")
    button = gr.Button("Get San Francisco Weather")
    button.click(generate_response, chatbot, chatbot)

if __name__ == "__main__":
    demo.launch()

tool-box-demo

Thanks @freddyaboulton!

Fixes

Dependency updates

  • @gradio/atoms@0.7.6
  • @gradio/utils@0.5.1
  • @gradio/statustracker@0.7.1
  • @gradio/client@1.3.0
  • @gradio/markdown@0.8.1
  • @gradio/upload@0.11.5
  • @gradio/image@0.12.2
  • @gradio/icons@0.6.0
  • @gradio/plot@0.6.0
  • @gradio/audio@0.12.2
  • @gradio/gallery@0.11.2
  • @gradio/video@0.9.2

0.11.1

Fixes

  • #8655 3896398 - Ensure copy button on chatbot shows when appropriate. Thanks @pngwn!
  • #8631 9b8840a - Ensure chatbot messages are visible to screenreaders. Thanks @hannahblair!

Dependency updates

  • @gradio/upload@0.11.4
  • @gradio/client@1.2.1
  • @gradio/gallery@0.11.1
  • @gradio/image@0.12.1
  • @gradio/audio@0.12.1
  • @gradio/video@0.9.1

0.11.0

Features

  • #8131 bb504b4 - Gradio components in gr.Chatbot(). Thanks @dawoodkhan82!
  • #8607 c7cd0a0 - Ensure chatbot background is consistent with other components. Thanks @pngwn!
  • #8555 7fc7455 - support html in chatbot. Thanks @pngwn!

Fixes

Dependency updates

  • @gradio/atoms@0.7.5
  • @gradio/audio@0.12.0
  • @gradio/gallery@0.11.0
  • @gradio/image@0.12.0
  • @gradio/plot@0.5.0
  • @gradio/utils@0.5.0
  • @gradio/video@0.9.0
  • @gradio/icons@0.5.0
  • @gradio/wasm@0.11.0
  • @gradio/client@1.2.0
  • @gradio/statustracker@0.7.0
  • @gradio/markdown@0.8.0
  • @gradio/upload@0.11.3

0.10.11

Dependency updates

  • @gradio/client@1.1.1
  • @gradio/upload@0.11.2
  • @gradio/audio@0.11.10
  • @gradio/image@0.11.10
  • @gradio/video@0.8.10

0.10.10

Dependency updates

  • @gradio/upload@0.11.1
  • @gradio/client@1.1.0
  • @gradio/audio@0.11.9
  • @gradio/image@0.11.9
  • @gradio/video@0.8.9

0.10.9

Dependency updates

  • @gradio/statustracker@0.6.0
  • @gradio/client@1.0.0
  • @gradio/upload@0.11.0
  • @gradio/audio@0.11.8
  • @gradio/image@0.11.8
  • @gradio/video@0.8.8
  • @gradio/markdown@0.7.6

0.10.8

Features

  • #8377 341844f - Click to preview images in chatbot. Thanks @dawoodkhan82!

0.10.7

Dependency updates

  • @gradio/upload@0.10.7
  • @gradio/client@0.20.1
  • @gradio/audio@0.11.7
  • @gradio/image@0.11.7
  • @gradio/video@0.8.7

0.10.6

Dependency updates

  • @gradio/client@0.20.0
  • @gradio/statustracker@0.6.0
  • @gradio/audio@0.11.6
  • @gradio/image@0.11.6
  • @gradio/upload@0.10.6
  • @gradio/video@0.8.6
  • @gradio/markdown@0.7.6

0.10.5

Features

  • #8311 35905c5 - Cleanup markdown styling. Thanks @aliabid94!

Dependency updates

  • @gradio/utils@0.4.2
  • @gradio/atoms@0.7.4
  • @gradio/statustracker@0.5.5
  • @gradio/upload@0.10.5
  • @gradio/markdown@0.7.5
  • @gradio/theme@0.2.3
  • @gradio/client@0.19.4
  • @gradio/audio@0.11.5
  • @gradio/image@0.11.5
  • @gradio/video@0.8.5

0.10.4

Dependency updates

  • @gradio/client@0.19.3
  • @gradio/statustracker@0.5.4
  • @gradio/audio@0.11.4
  • @gradio/image@0.11.4
  • @gradio/upload@0.10.4
  • @gradio/video@0.8.4
  • @gradio/markdown@0.7.4

0.10.3

Dependency updates

  • @gradio/upload@0.10.3
  • @gradio/client@0.19.2
  • @gradio/audio@0.11.3
  • @gradio/image@0.11.3
  • @gradio/video@0.8.3

0.10.2

Dependency updates

  • @gradio/statustracker@0.5.3
  • @gradio/client@0.19.1
  • @gradio/audio@0.11.2
  • @gradio/image@0.11.2
  • @gradio/markdown@0.7.3
  • @gradio/video@0.8.2
  • @gradio/upload@0.10.2

0.10.1

Features

  • #8226 892181b - chore(deps): update dependency @types/prismjs to v1.26.4. Thanks @renovate!

Dependency updates

  • @gradio/atoms@0.7.3
  • @gradio/statustracker@0.5.2
  • @gradio/markdown@0.7.2
  • @gradio/client@0.19.0
  • @gradio/icons@0.4.1
  • @gradio/audio@0.11.1
  • @gradio/image@0.11.1
  • @gradio/upload@0.10.1
  • @gradio/video@0.8.1

0.10.0

Features

  • #8121 f5b710c - chore(deps): update dependency eslint to v9. Thanks @renovate!

Dependency updates

  • @gradio/atoms@0.7.2
  • @gradio/client@0.18.0
  • @gradio/upload@0.10.0
  • @gradio/utils@0.4.1
  • @gradio/statustracker@0.5.1
  • @gradio/audio@0.11.0
  • @gradio/image@0.11.0
  • @gradio/video@0.8.0
  • @gradio/markdown@0.7.1

0.9.0

Highlights

Setting File Upload Limits (#7909 2afca65)

We have added a max_file_size size parameter to launch() that limits to size of files uploaded to the server. This limit applies to each individual file. This parameter can be specified as a string or an integer (corresponding to the size in bytes).

The following code snippet sets a max file size of 5 megabytes.

import gradio as gr

demo = gr.Interface(lambda x: x, "image", "image")

demo.launch(max_file_size="5mb")
# or
demo.launch(max_file_size=5 * gr.FileSize.MB)

max_file_size_upload

Error states can now be cleared

When a component encounters an error, the error state shown in the UI can now be cleared by clicking on the x icon in the top right of the component. This applies to all types of errors, whether it's raised in the UI or the server.

error_modal_calculator

Thanks @freddyaboulton!

Fixes

  • #8066 624f9b9 - make gradio dev tools a local dependency rather than bundling. Thanks @pngwn!

Dependency updates

  • @gradio/atoms@0.7.1
  • @gradio/client@0.17.0
  • @gradio/audio@0.10.0
  • @gradio/image@0.10.0
  • @gradio/markdown@0.7.0
  • @gradio/statustracker@0.5.0
  • @gradio/video@0.7.0
  • @gradio/upload@0.9.0
  • @gradio/utils@0.4.0

0.8.3

Features

  • #7998 06bdf0e - Restore chatbot formatting. Thanks @aliabid94!

Fixes

  • #8025 55ef4a5 - Fixes Chatbot Image Sizing. Thanks @dawoodkhan82!

Dependency updates

  • @gradio/utils@0.3.2
  • @gradio/statustracker@0.4.12
  • @gradio/theme@0.2.2
  • @gradio/client@0.16.0
  • @gradio/upload@0.8.5
  • @gradio/atoms@0.7.0
  • @gradio/icons@0.4.0
  • @gradio/audio@0.9.12
  • @gradio/image@0.9.12
  • @gradio/video@0.6.12
  • @gradio/markdown@0.6.10

0.8.2

Dependency updates

  • @gradio/utils@0.3.1
  • @gradio/atoms@0.6.2
  • @gradio/statustracker@0.4.11
  • @gradio/upload@0.8.4
  • @gradio/image@0.9.11
  • @gradio/markdown@0.6.9
  • @gradio/theme@0.2.1
  • @gradio/client@0.15.1
  • @gradio/video@0.6.11
  • @gradio/audio@0.9.11

0.8.1

Dependency updates

  • @gradio/upload@0.8.3
  • @gradio/client@0.15.0
  • @gradio/audio@0.9.10
  • @gradio/image@0.9.10
  • @gradio/video@0.6.10

0.8.0

Features

  • #7849 7af3cd7 - Adds a placeholder argument to gr.Chatbot. Thanks @abidlabs!

Dependency updates

  • @gradio/atoms@0.6.1
  • @gradio/statustracker@0.4.10
  • @gradio/icons@0.3.4
  • @gradio/upload@0.8.2
  • @gradio/audio@0.9.9
  • @gradio/image@0.9.9
  • @gradio/video@0.6.9
  • @gradio/markdown@0.6.8

0.7.8

Dependency updates

  • @gradio/upload@0.8.1
  • @gradio/statustracker@0.4.9
  • @gradio/atoms@0.6.0
  • @gradio/audio@0.9.8
  • @gradio/image@0.9.8
  • @gradio/video@0.6.8
  • @gradio/markdown@0.6.7

0.7.7

Dependency updates

  • @gradio/client@0.14.0
  • @gradio/upload@0.8.0
  • @gradio/markdown@0.6.6
  • @gradio/audio@0.9.7
  • @gradio/image@0.9.7
  • @gradio/video@0.6.7

0.7.6

Dependency updates

  • @gradio/upload@0.7.7
  • @gradio/client@0.13.0
  • @gradio/audio@0.9.6
  • @gradio/image@0.9.6
  • @gradio/video@0.6.6

0.7.5

Patch Changes

  • Updated dependencies [8181695]:
    • @gradio/upload@0.7.6
    • @gradio/audio@0.9.5
    • @gradio/image@0.9.5
    • @gradio/video@0.6.5

0.7.4

Features

  • #7528 eda33b3 - Refactors get_fetchable_url_or_file() to remove it from the frontend. Thanks @abidlabs!

0.7.3

Patch Changes

  • Updated dependencies [98a2719]:
    • @gradio/statustracker@0.4.8
    • @gradio/audio@0.9.3
    • @gradio/image@0.9.3
    • @gradio/markdown@0.6.5
    • @gradio/video@0.6.3

0.7.2

Patch Changes

  • Updated dependencies [f191786]:
    • @gradio/audio@0.9.2
    • @gradio/icons@0.3.3
    • @gradio/atoms@0.5.3
    • @gradio/image@0.9.2
    • @gradio/statustracker@0.4.7
    • @gradio/upload@0.7.4
    • @gradio/video@0.6.2
    • @gradio/markdown@0.6.4

0.7.1

Patch Changes

  • Updated dependencies [17fb116, 065c5b1, 32b317f]:
    • @gradio/markdown@0.6.3
    • @gradio/utils@0.3.0
    • @gradio/client@0.12.1
    • @gradio/atoms@0.5.2
    • @gradio/audio@0.9.1
    • @gradio/image@0.9.1
    • @gradio/statustracker@0.4.6
    • @gradio/upload@0.7.3
    • @gradio/video@0.6.1

0.7.0

Features

  • #7183 49d9c48 - [WIP] Refactor file normalization to be in the backend and remove it from the frontend of each component. Thanks @abidlabs!

0.6.4

Patch Changes

0.6.3

Patch Changes

  • Updated dependencies [5727b92, ca8753b, bc2cdc1, c35fac0, c60ad4d, 13cb6af, e8b2d8b]:
    • @gradio/utils@0.2.1
    • @gradio/markdown@0.6.1
    • @gradio/audio@0.8.0
    • @gradio/upload@0.7.0
    • @gradio/video@0.5.0
    • @gradio/atoms@0.5.0
    • @gradio/image@0.7.1
    • @gradio/statustracker@0.4.4

0.6.2

Patch Changes

  • Updated dependencies [3c3cf86, 9cefd2e, 6be3c2c, 3f139c7]:
    • @gradio/client@0.10.1
    • @gradio/image@0.7.0
    • @gradio/video@0.4.0
    • @gradio/upload@0.6.1
    • @gradio/audio@0.7.2

0.6.1

Fixes

0.6.0

Features

Fixes

  • #6899 bd11d6e - Remove the styles on the audio elements in the Chatbot component. Thanks @whitphx!

0.5.6

Patch Changes

  • Updated dependencies [d406855]:
    • @gradio/client@0.9.4
    • @gradio/upload@0.5.7

0.5.5

Patch Changes

  • Updated dependencies [846d52d, 828fb9e, f3abde8, 73268ee]:
    • @gradio/markdown@0.6.0
    • @gradio/client@0.9.3
    • @gradio/statustracker@0.4.3
    • @gradio/atoms@0.4.1
    • @gradio/upload@0.5.6

0.5.4

Patch Changes

  • Updated dependencies [245d58e]:
    • @gradio/client@0.9.2
    • @gradio/upload@0.5.5

0.5.3

Patch Changes

  • Updated dependencies [5d51fbc, 34f9431]:
    • @gradio/upload@0.5.4
    • @gradio/client@0.9.1

0.5.2

Features

0.5.1

Fixes

0.5.0

Features

0.4.8

Features

0.4.7

Patch Changes

  • Updated dependencies [9caddc17b]:
    • @gradio/atoms@0.3.0
    • @gradio/icons@0.3.0
    • @gradio/statustracker@0.4.0
    • @gradio/upload@0.5.0
    • @gradio/markdown@0.3.3

0.4.6

Patch Changes

  • Updated dependencies [2f805a7dd, f816136a0]:
    • @gradio/upload@0.4.2
    • @gradio/atoms@0.2.2
    • @gradio/icons@0.2.1
    • @gradio/markdown@0.3.2
    • @gradio/statustracker@0.3.2

0.4.5

Fixes

0.4.4

Patch Changes

0.4.3

Fixes

0.4.2

Patch Changes

  • Updated dependencies [aaa55ce85]:
    • @gradio/upload@0.3.2

0.4.1

Patch Changes

  • Updated dependencies [2ba14b284]:
    • @gradio/client@0.7.1
    • @gradio/upload@0.3.1

0.4.0

Features

0.4.0-beta.9

Features

0.4.0-beta.8

Features

Fixes

0.4.0-beta.7

Features

0.5.3

Fixes

0.5.2

Patch Changes

  • Updated dependencies [e4a307ed6]:
    • @gradio/theme@0.2.0
    • @gradio/utils@0.1.2
    • @gradio/atoms@0.1.4
    • @gradio/markdown@0.3.1
    • @gradio/statustracker@0.2.2
    • @gradio/upload@0.3.2

0.5.1

Fixes

0.5.0

Features

Fixes

0.4.1

Patch Changes

  • Updated dependencies [ee8eec1e5]:
    • @gradio/markdown@0.2.2

0.4.0

Features

Fixes

0.3.2

Fixes

0.3.1

Patch Changes

  • Updated dependencies [afac0006]:
    • @gradio/markdown@0.2.0
    • @gradio/statustracker@0.2.0
    • @gradio/theme@0.1.0
    • @gradio/utils@0.1.1
    • @gradio/atoms@0.1.2
    • @gradio/upload@0.2.1

0.3.0

Highlights

Like/Dislike Button for Chatbot (#5391 abf1c57d)

Thanks @dawoodkhan82!

Features

Fixes

0.2.2

Fixes

0.2.1

Patch Changes

  • Updated dependencies [31996c99]:
    • @gradio/markdown@0.1.1

0.2.0

Highlights

Improve startup performance and markdown support (#5279 fe057300)

Improved markdown support

We now have better support for markdown in gr.Markdown and gr.Dataframe. Including syntax highlighting and Github Flavoured Markdown. We also have more consistent markdown behaviour and styling.

Various performance improvements

These improvements will be particularly beneficial to large applications.

  • Rather than attaching events manually, they are now delegated, leading to a significant performance improvement and addressing a performance regression introduced in a recent version of Gradio. App startup for large applications is now around twice as fast.
  • Optimised the mounting of individual components, leading to a modest performance improvement during startup (~30%).
  • Corrected an issue that was causing markdown to re-render infinitely.
  • Ensured that the gr.3DModel does re-render prematurely.

Thanks @pngwn!

Features

  • #5215 fbdad78a - Lazy load interactive or static variants of a component individually, rather than loading both variants regardless. This change will improve performance for many applications. Thanks @pngwn!
  • #5112 1cefee7f - chore(deps): update dependency marked to v7. Thanks @renovate!
  • #5258 92282cea - Chatbot Avatar Images. Thanks @dawoodkhan82!

Fixes

0.1.0

Features

0.0.2

Patch Changes

  • Updated dependencies [41c83070]:
    • @gradio/theme@0.0.2
    • @gradio/utils@0.0.2
    • @gradio/atoms@0.0.2
    • @gradio/upload@0.0.2