Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -960,9 +960,9 @@ def roomItemClick(evt: gr.SelectData):
|
|
| 960 |
|
| 961 |
sesh.clicked_displayed_product = evt.value['caption']
|
| 962 |
if selection == 'palette':
|
| 963 |
-
return gr.Column(scale=4), gr.update(visible=bool(0)), gr.update(visible=bool(0)), gr.update(visible=bool(1)), gr.Gallery(visible=False), gr.Label('Dream Home: As Quick As A Click. As Simple As Shopping.'
|
| 964 |
elif selection in ['living room', 'bedroom']:
|
| 965 |
-
return gr.Column(scale=4), gr.update(visible=bool(0)), gr.update(visible=bool(1)), gr.update(visible=bool(0)), gr.Gallery(visible=False), gr.Label('Dream Home: As Quick As A Click. As Simple As Shopping.'
|
| 966 |
else:
|
| 967 |
try:
|
| 968 |
item = evt.value['caption']
|
|
|
|
| 960 |
|
| 961 |
sesh.clicked_displayed_product = evt.value['caption']
|
| 962 |
if selection == 'palette':
|
| 963 |
+
return gr.Column(scale=4), gr.update(visible=bool(0)), gr.update(visible=bool(0)), gr.update(visible=bool(1)), gr.Gallery(visible=False), gr.Label('Dream Home: As Quick As A Click. As Simple As Shopping.', label='Sponsors'), gr.update(visible=bool(0))
|
| 964 |
elif selection in ['living room', 'bedroom']:
|
| 965 |
+
return gr.Column(scale=4), gr.update(visible=bool(0)), gr.update(visible=bool(1)), gr.update(visible=bool(0)), gr.Gallery(visible=False), gr.Label('Dream Home: As Quick As A Click. As Simple As Shopping.', label='Sponsors', visible=True) if sesh.summary_closed else gr.Label('Dream Home: As Quick As A Click. As Simple As Shopping.', label='Sponsors', visible=False), gr.update(visible=bool(0)) if sesh.summary_closed else gr.update(visible=bool(1))
|
| 966 |
else:
|
| 967 |
try:
|
| 968 |
item = evt.value['caption']
|