Repository: gradio-app/gradio
Pull request: Fix blocks_style demo
# Description

Fixes #2879

# Checklist:

- [x] I have performed a self-review of my own code
- [x] I have added a short summary of my change to the CHANGELOG.md
- [x] My code follows the style guidelines of this project
- [x] I have commented my code in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes


# A note about the CHANGELOG

Hello 👋 and thank you for contributing to Gradio!

All pull requests must update the change log located in CHANGELOG.md, unless the pull request is labeled with the "no-changelog-update" label.

Please add a brief summary of the change to the Upcoming Release > Full Changelog section of the CHANGELOG.md file and include
a link to the PR (formatted in markdown) and a link to your github profile (if you like). For example, "* Added a cool new feature by `[@myusername](link-to-your-github-profile)` in `[PR 11111](https://github.com/gradio-app/gradio/pull/11111)`".

If you would like to elaborate on your change further, feel free to include a longer explanation in the other sections.
If you would like an image/gif/video showcasing your feature, it may be best to edit the CHANGELOG file using the 
GitHub web UI since that lets you upload files directly via drag-and-drop.

Problem statement:
Cant run blocks_style demo
### Describe the bug

Run `python demo/blocks_style/run.py` and you will get an error

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Reproduction

Above

### Screenshot

_No response_

### Logs

```shell
Traceback (most recent call last):
  File "demo/blocks_style/run.py", line 88, in <module>
    btn = gr.Button("Run").style(
  File "/Users/freddy/sources/gradio/gradio/blocks.py", line 1090, in __exit__
    self.config = self.get_config_file()
  File "/Users/freddy/sources/gradio/gradio/blocks.py", line 1066, in get_config_file
    "props": utils.delete_none(block.get_config())
  File "/Users/freddy/sources/gradio/gradio/components.py", line 3787, in get_config
    "value": self.value,
AttributeError: 'Chatbot' object has no attribute 'value'
```


### System Info

```shell
Main
```


### Severity

annoying

Hints from issue discussion:

Commit message: Add changelog

Patch to review:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e795d9fae9..dff18d5516 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,7 +7,8 @@
 * Fixed bug where setting `default_enabled=False` made it so that the entire queue did not start by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 2876](https://github.com/gradio-app/gradio/pull/2876)  
 * Fixed bug where csv preview for DataFrame examples would show filename instead of file contents by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 2877](https://github.com/gradio-app/gradio/pull/2877)
 * Fixed bug where an error raised after yielding iterative output would not be displayed in the browser by 
-[@JaySmithWpg](https://github.com/JaySmithWpg) in [PR 2889](https://github.com/gradio-app/gradio/pull/2889)  
+[@JaySmithWpg](https://github.com/JaySmithWpg) in [PR 2889](https://github.com/gradio-app/gradio/pull/2889)
+* Fixed bug in `blocks_style` demo that was preventing it from launching by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 2876](https://github.com/gradio-app/gradio/pull/2890)  
 
 ## Documentation Changes:
 * Added a Guide on using Google Sheets to create a real-time dashboard with Gradio's `DataFrame` and `LinePlot` component, by [@abidlabs](https://github.com/abidlabs) in [PR 2816](https://github.com/gradio-app/gradio/pull/2816) 
diff --git a/demo/blocks_style/run.py b/demo/blocks_style/run.py
index 9e3b9e58a8..fc60043eca 100644
--- a/demo/blocks_style/run.py
+++ b/demo/blocks_style/run.py
@@ -70,7 +70,7 @@
             height="auto",
             container=False,
         )
-        chat = gr.Chatbot("hi", color_map=("pink", "blue")).style(
+        chat = gr.Chatbot([("hi", "good bye")], color_map=("pink", "blue")).style(
             rounded=False,
         )
 
@@ -91,13 +91,11 @@
             border=False,
         )
 
-        # Not currently public
-        # TODO: Uncomment at next release
-        # gr.Dataset().style(
-        #     rounded=False,
-        #     margin=False,
-        #     border=False,
-        # )
+        gr.Dataset(components=[txt, num]).style(
+            rounded=False,
+            margin=False,
+            border=False,
+        )
 
 
 if __name__ == "__main__":


Code review comments:
diff_hunk: @@ -70,7 +70,7 @@
             height="auto",
             container=False,
         )
-        chat = gr.Chatbot("hi", color_map=("pink", "blue")).style(
+        chat = gr.Chatbot([("hi", "good bye")], color_map=("pink", "blue")).style(
             rounded=False,
         )
path: demo/blocks_style/run.py
text: @user1:
Might as well remove this since it's deprecated
```suggestion
        chat = gr.Chatbot([("hi", "good bye")], color_map=("pink", "blue"))
```

diff_hunk: @@ -91,13 +91,11 @@
             border=False,
         )
 
-        # Not currently public
-        # TODO: Uncomment at next release
-        # gr.Dataset().style(
-        #     rounded=False,
-        #     margin=False,
-        #     border=False,
-        # )
+        gr.Dataset(components=[txt, num]).style(
+            rounded=False,
+            margin=False,
+            border=False,
+        )
path: demo/blocks_style/run.py
text: @user1:
Same here
```suggestion
        gr.Dataset(components=[txt, num])
```