Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -968,9 +968,9 @@ def roomItemClick(evt: gr.SelectData, seshid):
|
|
| 968 |
seshid = str(time.time()) if not seshid or seshid == 'SESHID' else seshid
|
| 969 |
sesh.clicked_displayed_product = evt.value['caption']
|
| 970 |
if selection == 'palette':
|
| 971 |
-
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.'
|
| 972 |
elif selection in ['living room', 'bedroom']:
|
| 973 |
-
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.'
|
| 974 |
else:
|
| 975 |
try:
|
| 976 |
item = evt.value['caption']
|
|
@@ -2384,7 +2384,7 @@ fnf: https://www.youtube.com/watch?v=xR_G4UOvHaI
|
|
| 2384 |
with gr.Blocks(theme=gr.themes.Monochrome(), js=js_func) as demo:
|
| 2385 |
#ads = gr.Image("C:\\Users\\Wayne\\Downloads\\Welcome Home.gif", show_label=False, scale=5, height=150, show_download_button=False)
|
| 2386 |
ads = gr.Label("Dream Home: As Quick As A Click. As Simple As Shopping. ", show_label=False)
|
| 2387 |
-
seshid = gr.Textbox('SESHID')
|
| 2388 |
replace = gr.Gallery(label='Replacement Items', rows=2, columns=7, visible=False)
|
| 2389 |
with gr.Row(visible=False) as store_summary:
|
| 2390 |
merchant_top = gr.Label(label='Merchant')
|
|
|
|
| 968 |
seshid = str(time.time()) if not seshid or seshid == 'SESHID' else seshid
|
| 969 |
sesh.clicked_displayed_product = evt.value['caption']
|
| 970 |
if selection == 'palette':
|
| 971 |
+
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)), seshid
|
| 972 |
elif selection in ['living room', 'bedroom']:
|
| 973 |
+
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)), seshid
|
| 974 |
else:
|
| 975 |
try:
|
| 976 |
item = evt.value['caption']
|
|
|
|
| 2384 |
with gr.Blocks(theme=gr.themes.Monochrome(), js=js_func) as demo:
|
| 2385 |
#ads = gr.Image("C:\\Users\\Wayne\\Downloads\\Welcome Home.gif", show_label=False, scale=5, height=150, show_download_button=False)
|
| 2386 |
ads = gr.Label("Dream Home: As Quick As A Click. As Simple As Shopping. ", show_label=False)
|
| 2387 |
+
seshid = gr.Textbox('SESHID', visible=False)
|
| 2388 |
replace = gr.Gallery(label='Replacement Items', rows=2, columns=7, visible=False)
|
| 2389 |
with gr.Row(visible=False) as store_summary:
|
| 2390 |
merchant_top = gr.Label(label='Merchant')
|