# Chat GPT + Dash = duplicated output

**URL:** <https://community.plotly.com/t/chat-gpt-dash-duplicated-output/85813>\
**Category:** Dash Python\
**Created:** [July 15, 2024, 11:18am UTC](https://community.plotly.com/t/chat-gpt-dash-duplicated-output/85813 "2024-07-15T11:18:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Plotlyoko](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/plotlyoko/32/19208_2.png) [@Plotlyoko](https://community.plotly.com/u/Plotlyoko)\
**Post date:** [July 15, 2024, 11:18am UTC](https://community.plotly.com/t/chat-gpt-dash-duplicated-output/85813/1 "2024-07-15T11:18:36Z")

</div>

Hi !

I’m curious to understand why GPT does not understand that Dash does not accept duplicated output.  
At least for me GPT 4 To (and previous) has almost always provided me a app with duplicated output. Have you encountered the same problem ? Is is really a problem for you ?

For me it is because I have to ask him to merge the output or do it myself. I don’t know if there is something wiser to do.

I’m curious to understand why, whilst chat gpt I think is a okay dash developper.

Thank you

---

<div class="post-metadata">

**Author:** ![AIMPED](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/aimped/32/21758_2.png) [@AIMPED](https://community.plotly.com/u/AIMPED)\
**Post date:** [July 15, 2024, 6:26pm UTC](https://community.plotly.com/t/chat-gpt-dash-duplicated-output/85813/3 "2024-07-15T18:26:32Z")

</div>

Hey @Plotlyoko not sure what kind of answer you expect here.

`dash` actually accepts duplicated outputs. This feature has been added with version 2.9 (I think).

---

<div class="post-metadata">

**Author:** ![Plotlyoko](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/plotlyoko/32/19208_2.png) [@Plotlyoko](https://community.plotly.com/u/Plotlyoko)\
**Post date:** [July 18, 2024, 8:40am UTC](https://community.plotly.com/t/chat-gpt-dash-duplicated-output/85813/4 "2024-07-18T08:40:33Z")

</div>

Yeah I saw that but the way chat gpt is coding it raise error lol. I just found it funny that he cannot learn how to duplicate (or not duplicate) outputs. I have the feeling that other programming language has an influence on its dash coding but it’s just a feeling.

---

<div class="post-metadata">

**Author:** ![AIMPED](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/aimped/32/21758_2.png) [@AIMPED](https://community.plotly.com/u/AIMPED)\
**Post date:** [July 18, 2024, 4:06pm UTC](https://community.plotly.com/t/chat-gpt-dash-duplicated-output/85813/5 "2024-07-18T16:06:53Z")

</div>

I think you might have a misunderstanding of chatGPT o the underlying technique of Large Language Models.These models do not learn as you go just by using them.

---

<div class="post-metadata">

**Author:** ![Plotlyoko](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/plotlyoko/32/19208_2.png) [@Plotlyoko](https://community.plotly.com/u/Plotlyoko)\
**Post date:** [July 18, 2024, 4:39pm UTC](https://community.plotly.com/t/chat-gpt-dash-duplicated-output/85813/7 "2024-07-18T16:39:43Z")

</div>

Ok it seems that you don’t understand my point. I would like to know more about how you use gpt for your coding with Dash. First of all, how do you use dash ?
