Skip to content

Commit

Permalink
Adds if name == main in chatbot tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Sajus committed Dec 26, 2023
1 parent e5b9e68 commit f083c72
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/knowledge_base/tutorials/chatbot/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f083c72

Please sign in to comment.