Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
52 KiB
@gradio/chatbot
0.16.1
Fixes
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
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
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
Fixes
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
- Fixretry
andundo
reactivity in gr.Chatbot. Thanks @hannahblair! - #9619
1f3ee97
- Fix Functional Tests. Thanks @dawoodkhan82!
Fixes
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
- #8843
6f95286
- Small tweak to how thoughts are shown ingr.Chatbot
- #8843
6f95286
- Move buttons from chat_interface into Chatbot - #8843
6f95286
- Disable liking user message in chatbot by default but make it configurable - #8843
6f95286
- Chatbot Examples - #8843
6f95286
- Move icons intoIconButtonWrapper
- #8843
6f95286
- Fix chatinterface embedding height issues - #8843
6f95286
- Chatbot bug fixes - #8843
6f95286
- Chatbot autoscroll - #8843
6f95286
- Fix markdown code copy/check button in gr.Chatbot - #8843
6f95286
- 9227 chatinterface retry bug - #8843
6f95286
- Some more chatbot fixes - #8843
6f95286
- Fixes: Chatbot examples for custom chatbot + renamesuggestions
->examples
- #8843
6f95286
- Standardizeheight
across components and addmax_height
andmin_height
parameters where appropriate - #8843
6f95286
- Fixgr.Chatbot
panels layout - #8843
6f95286
- Ssr part 2
Fixes
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
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
- Fixgr.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
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 + renamesuggestions
->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 ingr.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 intoIconButtonWrapper
. Thanks @hannahblair! - #9316
4338f29
- 9227 chatinterface retry bug. Thanks @freddyaboulton! - #9313
1fef9d9
- Standardizeheight
across components and addmax_height
andmin_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
Fixes
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
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
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
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.
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()
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 ingr.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
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
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
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
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)
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.
Thanks @freddyaboulton!
Fixes
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
Fixes
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
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
- Refactorsget_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
- Updated dependencies [
e5344ba
,572e360
,ded5256
,733ca26
,68a54a7
,2e6672c
,fdd1521
,200e251
,c3e61e4
,e3217b4
,8dd6f4b
]:- @gradio/markdown@0.6.2
- @gradio/upload@0.7.1
- @gradio/audio@0.8.1
- @gradio/image@0.8.0
- @gradio/client@0.11.0
- @gradio/utils@0.2.2
- @gradio/video@0.5.1
- @gradio/atoms@0.5.1
- @gradio/statustracker@0.4.5
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
- #6958
0f0498b
- Ensure Chatbot theme text size is set correctly. Thanks @hannahblair!
0.6.0
Features
- #6897
fb9c6ca
- Lite: Chatbot. Thanks @whitphx! - #6900
4511d57
- Fix the aria-label attrs ingr.Chatbot()
. Thanks @whitphx!
Fixes
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
0.5.2
Features
- #6399
053bec9
- Improve CSS token documentation in Storybook. Thanks @hannahblair!
0.5.1
Fixes
- #6574
2b625ad
- Ensure Chatbot messages are properly aligned whenrtl
is true. Thanks @hannahblair! - #6572
206af31
- Improve like/dislike functionality. Thanks @hannahblair!
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
- #6386
e76a9e8fc
- Fix Chatbot Pending Message Issues. Thanks @dawoodkhan82!
0.4.4
Patch Changes
0.4.3
Fixes
- #6316
4b1011bab
- Maintain text selection inChatbot
button elements. Thanks @hannahblair!
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
- #5498
287fe6782
- fix circular dependency with client + upload. Thanks @pngwn! - #5498
287fe6782
- Clean root url. Thanks @pngwn! - #5498
287fe6782
- Fix selectable prop in the backend. Thanks @pngwn! - #5498
287fe6782
- Image v4. Thanks @pngwn! - #5498
287fe6782
- Publish all components to npm. Thanks @pngwn! - #5498
287fe6782
- Custom components. Thanks @pngwn!
0.4.0-beta.9
Features
- #6143
e4f7b4b40
- fix circular dependency with client + upload. Thanks @pngwn! - #6136
667802a6c
- JS Component Documentation. Thanks @freddyaboulton! - #6094
c476bd5a5
- Image v4. Thanks @pngwn! - #6135
bce37ac74
- Fix selectable prop in the backend. Thanks @freddyaboulton!
0.4.0-beta.8
Features
- #6016
83e947676
- Format js in v4 branch. Thanks @freddyaboulton!
Fixes
0.4.0-beta.7
Features
- #5960
319c30f3f
- rererefactor frontend files. Thanks @pngwn! - #5938
13ed8a485
- V4: Use beta release versions for '@gradio' packages. Thanks @freddyaboulton!
0.5.3
Fixes
- #5827
48e09ee88
- Quick fix: Chatbot change event. Thanks @dawoodkhan82!
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
- #5775
e2874bc3c
- fix pending chatbot message styling and ensure messages with valueNone
don't render. Thanks @hannahblair!
0.5.0
Features
- #5699
8f0fed857
- Improve chatbot accessibility and UX. Thanks @hannahblair!
Fixes
- #5755
e842a561a
- Fix new line issue in chatbot. Thanks @dawoodkhan82!
0.4.1
Patch Changes
- Updated dependencies [
ee8eec1e5
]:- @gradio/markdown@0.2.2
0.4.0
Features
- #5671
6a36c3b78
- chore(deps): update dependency @types/prismjs to v1.26.1. Thanks @renovate! - #5554
75ddeb390
- Accessibility Improvements. Thanks @hannahblair!
Fixes
- #5604
faad01f8e
- Addrender_markdown
parameter to chatbot. Thanks @dawoodkhan82! - #5593
88d43bd12
- Fixes avatar image in chatbot being squashed. Thanks @dawoodkhan82!
0.3.2
Fixes
- #5470
a4e010a9
- Fix share button position. Thanks @dawoodkhan82!
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
- #5334
c5bf9138
- Add chat bubble width param. Thanks @dawoodkhan82!
Fixes
- #5304
05892302
- Adds kwarg to disable html sanitization ingr.Chatbot()
. Thanks @dawoodkhan82! - #5366
0cc7e2dc
- Hide avatar when message none. Thanks @dawoodkhan82!
0.2.2
Fixes
- #5319
3341148c
- Fix: wrap avatar-image in a div to clip its shape. Thanks @Keldos-Li!
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
- #5242
2b397791
- Fix message text overflow onto copy button ingr.Chatbot
. Thanks @hannahblair! - #5285
cdfd4217
- Tweaks toicon
parameter ingr.Button()
. Thanks @abidlabs! - #5122
3b805346
- Allows code block in chatbot to scroll horizontally. Thanks @dawoodkhan82!
0.1.0
Features
- #5125
80be7a1c
- chatbot conversation nodes can contain a copy button. Thanks @fazpu! - #5137
22aa5eba
- Use font size--text-md
for<code>
in Chatbot messages. Thanks @jaywonchung!
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