maartenbreddels
commited on
Commit
•
56ce50a
1
Parent(s):
9531d87
feat: adaptive label for InputText
Browse files- wanderlust.py +3 -1
wanderlust.py
CHANGED
@@ -252,7 +252,9 @@ def ChatInterface():
|
|
252 |
|
253 |
with solara.Column():
|
254 |
solara.InputText(
|
255 |
-
label="
|
|
|
|
|
256 |
value=prompt,
|
257 |
style={"flex-grow": "1"},
|
258 |
on_value=add_message,
|
|
|
252 |
|
253 |
with solara.Column():
|
254 |
solara.InputText(
|
255 |
+
label="Where do you want to go?"
|
256 |
+
if len(messages.value) == 0
|
257 |
+
else "Ask more question here",
|
258 |
value=prompt,
|
259 |
style={"flex-grow": "1"},
|
260 |
on_value=add_message,
|