Update app.py
Browse files
app.py
CHANGED
|
@@ -3306,7 +3306,7 @@ with gr.Blocks(
|
|
| 3306 |
|
| 3307 |
# Keep the actual clear button but hide it
|
| 3308 |
|
| 3309 |
-
with gr.Tab("
|
| 3310 |
with gr.Column():
|
| 3311 |
# Add Business, Family, Friends chatbots right below the button row
|
| 3312 |
business_html_display = gr.HTML(f"""
|
|
@@ -3426,7 +3426,7 @@ with gr.Blocks(
|
|
| 3426 |
</div>
|
| 3427 |
""")
|
| 3428 |
|
| 3429 |
-
with gr.Tab("BotBook"): # New tab for organized links
|
| 3430 |
with gr.Column():
|
| 3431 |
# Add the BotBook embed
|
| 3432 |
botbook_embed = gr.HTML("""
|
|
@@ -3470,7 +3470,7 @@ with gr.Blocks(
|
|
| 3470 |
|
| 3471 |
""")
|
| 3472 |
|
| 3473 |
-
with gr.Tab("
|
| 3474 |
with gr.Column():
|
| 3475 |
# Add the BotBook embed
|
| 3476 |
botbook_embed = gr.HTML("""
|
|
@@ -3486,6 +3486,48 @@ with gr.Blocks(
|
|
| 3486 |
style="border: none;"
|
| 3487 |
></iframe>
|
| 3488 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3489 |
<!-- Bottom TOS overlay -->
|
| 3490 |
<div style="
|
| 3491 |
position: absolute;
|
|
@@ -3512,7 +3554,7 @@ with gr.Blocks(
|
|
| 3512 |
</div>
|
| 3513 |
|
| 3514 |
|
| 3515 |
-
""")
|
| 3516 |
|
| 3517 |
|
| 3518 |
|
|
@@ -4135,7 +4177,7 @@ with gr.Blocks(
|
|
| 4135 |
save_status = gr.Markdown()
|
| 4136 |
|
| 4137 |
# Trainer Manual Tab
|
| 4138 |
-
with gr.Tab("
|
| 4139 |
with gr.Column():
|
| 4140 |
password_input = gr.Textbox(
|
| 4141 |
label="Enter email",
|
|
@@ -4299,7 +4341,7 @@ with gr.Blocks(
|
|
| 4299 |
""")
|
| 4300 |
|
| 4301 |
# Certificate Tab
|
| 4302 |
-
with gr.Tab("🏆 Driver's License
|
| 4303 |
with gr.Column():
|
| 4304 |
cert_password_input = gr.Textbox(
|
| 4305 |
label="Enter email",
|
|
@@ -4620,7 +4662,7 @@ with gr.Blocks(
|
|
| 4620 |
|
| 4621 |
# Chatbot Mood & Settings
|
| 4622 |
# Replace the existing Chatbot Mood & Settings accordion with this authenticated version:
|
| 4623 |
-
with gr.Accordion("
|
| 4624 |
with gr.Column():
|
| 4625 |
mood_password_input = gr.Textbox(
|
| 4626 |
label="Enter email",
|
|
|
|
| 3306 |
|
| 3307 |
# Keep the actual clear button but hide it
|
| 3308 |
|
| 3309 |
+
with gr.Tab("👞 Following"): # New tab for organized links
|
| 3310 |
with gr.Column():
|
| 3311 |
# Add Business, Family, Friends chatbots right below the button row
|
| 3312 |
business_html_display = gr.HTML(f"""
|
|
|
|
| 3426 |
</div>
|
| 3427 |
""")
|
| 3428 |
|
| 3429 |
+
with gr.Tab("👤 BotBook"): # New tab for organized links
|
| 3430 |
with gr.Column():
|
| 3431 |
# Add the BotBook embed
|
| 3432 |
botbook_embed = gr.HTML("""
|
|
|
|
| 3470 |
|
| 3471 |
""")
|
| 3472 |
|
| 3473 |
+
with gr.Tab("🎨 Creatives"): # New tab for organized links
|
| 3474 |
with gr.Column():
|
| 3475 |
# Add the BotBook embed
|
| 3476 |
botbook_embed = gr.HTML("""
|
|
|
|
| 3486 |
style="border: none;"
|
| 3487 |
></iframe>
|
| 3488 |
|
| 3489 |
+
<!-- Bottom TOS overlay -->
|
| 3490 |
+
<div style="
|
| 3491 |
+
position: absolute;
|
| 3492 |
+
bottom: 0;
|
| 3493 |
+
left: 0;
|
| 3494 |
+
width: 100%;
|
| 3495 |
+
height: 80px;
|
| 3496 |
+
background-color: #00FF00;
|
| 3497 |
+
display: flex;
|
| 3498 |
+
align-items: center;
|
| 3499 |
+
justify-content: center;
|
| 3500 |
+
cursor: pointer;
|
| 3501 |
+
z-index: 1000;
|
| 3502 |
+
font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, sans-serif;
|
| 3503 |
+
" onclick="window.open('https://sites.google.com/view/goss-app/terms-of-service', '_blank')">
|
| 3504 |
+
<span style="
|
| 3505 |
+
color: #000000;
|
| 3506 |
+
font-size: 14px;
|
| 3507 |
+
font-weight: 500;
|
| 3508 |
+
letter-spacing: 0.3px;
|
| 3509 |
+
text-transform: lowercase;
|
| 3510 |
+
font-variant: small-caps;
|
| 3511 |
+
">tos</span>
|
| 3512 |
+
</div>
|
| 3513 |
+
""")
|
| 3514 |
+
|
| 3515 |
+
with gr.Tab("👕👗 Clothes"): # New tab for organized links
|
| 3516 |
+
with gr.Column():
|
| 3517 |
+
# Add the BotBook embed
|
| 3518 |
+
botbook_embed = gr.HTML("""
|
| 3519 |
+
<!-- Load Comfortaa font from Google Fonts -->
|
| 3520 |
+
<link href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600&display=swap" rel="stylesheet">
|
| 3521 |
+
|
| 3522 |
+
<div style="width: 100%; height: 750px; position: relative;">
|
| 3523 |
+
<iframe
|
| 3524 |
+
src="https://kwai-kolors-kolors-virtual-try-on.hf.space"
|
| 3525 |
+
frameborder="0"
|
| 3526 |
+
width="100%"
|
| 3527 |
+
height="100%"
|
| 3528 |
+
style="border: none;"
|
| 3529 |
+
></iframe>
|
| 3530 |
+
|
| 3531 |
<!-- Bottom TOS overlay -->
|
| 3532 |
<div style="
|
| 3533 |
position: absolute;
|
|
|
|
| 3554 |
</div>
|
| 3555 |
|
| 3556 |
|
| 3557 |
+
""")
|
| 3558 |
|
| 3559 |
|
| 3560 |
|
|
|
|
| 4177 |
save_status = gr.Markdown()
|
| 4178 |
|
| 4179 |
# Trainer Manual Tab
|
| 4180 |
+
with gr.Tab("📁 Trainer Manual"):
|
| 4181 |
with gr.Column():
|
| 4182 |
password_input = gr.Textbox(
|
| 4183 |
label="Enter email",
|
|
|
|
| 4341 |
""")
|
| 4342 |
|
| 4343 |
# Certificate Tab
|
| 4344 |
+
with gr.Tab("🏆 Driver's License"):
|
| 4345 |
with gr.Column():
|
| 4346 |
cert_password_input = gr.Textbox(
|
| 4347 |
label="Enter email",
|
|
|
|
| 4662 |
|
| 4663 |
# Chatbot Mood & Settings
|
| 4664 |
# Replace the existing Chatbot Mood & Settings accordion with this authenticated version:
|
| 4665 |
+
with gr.Accordion("📊 AI-Time Regulator (Chatbot Mood)", open=False):
|
| 4666 |
with gr.Column():
|
| 4667 |
mood_password_input = gr.Textbox(
|
| 4668 |
label="Enter email",
|