Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -958,7 +958,7 @@ def applyStyle(evt: gr.SelectData):
|
|
| 958 |
def roomItemClick(evt: gr.SelectData, seshid):
|
| 959 |
selection = evt.value['caption'].lower()
|
| 960 |
seshidtype = '...'+str(type(seshid))+ '...'
|
| 961 |
-
seshid = str(time.time()) if not seshid else seshid
|
| 962 |
sesh.clicked_displayed_product = evt.value['caption']
|
| 963 |
if selection == 'palette':
|
| 964 |
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.' + seshidtype + seshid, label='Sponsors'), gr.update(visible=bool(0)), seshid
|
|
@@ -2489,7 +2489,7 @@ with gr.Blocks(theme=gr.themes.Monochrome(), js=js_func) as demo:
|
|
| 2489 |
reels_update = gr.Textbox(visible=False)
|
| 2490 |
tiktok_update = gr.Textbox(visible=False)
|
| 2491 |
dummy = gr.Textbox(visible=False)
|
| 2492 |
-
seshid = gr.Textbox(
|
| 2493 |
with gr.Group(visible=False) as journeys_div:
|
| 2494 |
with gr.Accordion('Dream Job', open=False):
|
| 2495 |
dream_job_title = gr.Textbox(label="Dream Job Title")
|
|
|
|
| 958 |
def roomItemClick(evt: gr.SelectData, seshid):
|
| 959 |
selection = evt.value['caption'].lower()
|
| 960 |
seshidtype = '...'+str(type(seshid))+ '...'
|
| 961 |
+
seshid = str(time.time()) if not seshid or seshid == 'SESHID' else seshid
|
| 962 |
sesh.clicked_displayed_product = evt.value['caption']
|
| 963 |
if selection == 'palette':
|
| 964 |
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.' + seshidtype + seshid, label='Sponsors'), gr.update(visible=bool(0)), seshid
|
|
|
|
| 2489 |
reels_update = gr.Textbox(visible=False)
|
| 2490 |
tiktok_update = gr.Textbox(visible=False)
|
| 2491 |
dummy = gr.Textbox(visible=False)
|
| 2492 |
+
seshid = gr.Textbox('SESHID')
|
| 2493 |
with gr.Group(visible=False) as journeys_div:
|
| 2494 |
with gr.Accordion('Dream Job', open=False):
|
| 2495 |
dream_job_title = gr.Textbox(label="Dream Job Title")
|