Skip to content

Commit d3b801c

Browse files
committed
chatbot: use the title in the header too
1 parent 182cf48 commit d3b801c

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

notebooks/tps/chatbot/.teacher/chatbot-02.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
def main(page: ft.Page):
3939
page.title = TITLE
4040

41-
header = ft.Text(value="My Chatbot", size=40)
41+
header = ft.Text(value=TITLE, size=40)
4242

4343
streaming = ft.Checkbox(label="streaming", value=False)
4444
model = ft.Dropdown(

notebooks/tps/chatbot/.teacher/chatbot-03a.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
class ChatbotApp(ft.Column):
4343

4444
def __init__(self):
45-
header = ft.Text(value="My Chatbot", size=40)
45+
header = ft.Text(value=TITLE, size=40)
4646

4747
streaming = ft.Checkbox(label="streaming", value=False)
4848
model = ft.Dropdown(

notebooks/tps/chatbot/.teacher/chatbot-03b.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
class ChatbotApp(ft.Column):
4343

4444
def __init__(self):
45-
header = ft.Text(value="My Chatbot", size=40)
45+
header = ft.Text(value=TITLE, size=40)
4646

4747
# the 3 settings widgets need to be inspectable
4848
# later on in the code (in the submit method)

notebooks/tps/chatbot/.teacher/chatbot-04a.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def current_prompt(self):
6363
class ChatbotApp(ft.Column):
6464

6565
def __init__(self):
66-
header = ft.Text(value="My Chatbot", size=40)
66+
header = ft.Text(value=TITLE, size=40)
6767

6868
self.streaming = ft.Checkbox(label="streaming", value=False)
6969
self.model = ft.Dropdown(

notebooks/tps/chatbot/.teacher/chatbot-04b.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def current_prompt(self):
6262
class ChatbotApp(ft.Column):
6363

6464
def __init__(self):
65-
header = ft.Text(value="My Chatbot", size=40)
65+
header = ft.Text(value=TITLE, size=40)
6666

6767
self.streaming = ft.Checkbox(label="streaming", value=False)
6868
self.model = ft.Dropdown(

notebooks/tps/chatbot/.teacher/chatbot-05a.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def current_prompt(self):
6060
class ChatbotApp(ft.Column):
6161

6262
def __init__(self):
63-
header = ft.Text(value="My Chatbot", size=40)
63+
header = ft.Text(value=TITLE, size=40)
6464

6565
self.streaming = ft.Checkbox(label="streaming", value=False)
6666
self.model = ft.Dropdown(

notebooks/tps/chatbot/.teacher/chatbot-05b.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def current_prompt(self):
5959
class ChatbotApp(ft.Column):
6060

6161
def __init__(self):
62-
header = ft.Text(value="My Chatbot", size=40)
62+
header = ft.Text(value=TITLE, size=40)
6363

6464
self.streaming = ft.Checkbox(label="streaming", value=False)
6565
self.model = ft.Dropdown(

notebooks/tps/chatbot/.teacher/chatbot-06.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def current_prompt(self):
6464
class ChatbotApp(ft.Column):
6565

6666
def __init__(self):
67-
header = ft.Text(value="My Chatbot", size=40)
67+
header = ft.Text(value=TITLE, size=40)
6868

6969
self.streaming = ft.Checkbox(label="streaming", value=False)
7070
self.model = ft.Dropdown(

notebooks/tps/chatbot/.teacher/chatbot-07a.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def current_prompt(self):
7474
class ChatbotApp(ft.Column):
7575

7676
def __init__(self):
77-
header = ft.Text(value="My Chatbot", size=40)
77+
header = ft.Text(value=TITLE, size=40)
7878

7979
self.streaming = ft.Checkbox(label="streaming", value=False)
8080
self.model = ft.Dropdown(

notebooks/tps/chatbot/.teacher/chatbot-07b.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def current_prompt(self):
8484
class ChatbotApp(ft.Column):
8585

8686
def __init__(self):
87-
header = ft.Text(value="My Chatbot", size=40)
87+
header = ft.Text(value=TITLE, size=40)
8888

8989
self.streaming = ft.Checkbox(label="streaming", value=False)
9090
self.model = ft.Dropdown(

0 commit comments

Comments
 (0)