diff --git a/docs/knowledge_base/tutorials/chatbot/index.md b/docs/knowledge_base/tutorials/chatbot/index.md index fe7f7df8a..d43e67369 100644 --- a/docs/knowledge_base/tutorials/chatbot/index.md +++ b/docs/knowledge_base/tutorials/chatbot/index.md @@ -155,7 +155,8 @@ page = """ Finally we run the application: ```python -Gui(page).run(dark_mode=True, title="Taipy Chat") +if __name__ == "__main__": + Gui(page).run(dark_mode=True, title="Taipy Chat") ``` And here is the result: