Spaces:
Sleeping
Sleeping
Rajan Sharma
commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -534,7 +534,7 @@ with gr.Blocks(theme=theme, css=custom_css, analytics_enabled=False) as demo:
|
|
| 534 |
# --- HERO (initial Google-like screen) ---
|
| 535 |
with gr.Column(elem_id="hero-wrap", visible=True) as hero_wrap:
|
| 536 |
with gr.Column(elem_id="hero"):
|
| 537 |
-
gr.HTML("<h2>What can I
|
| 538 |
with gr.Row(elem_classes="search-row"):
|
| 539 |
hero_msg = gr.Textbox(
|
| 540 |
placeholder="Ask anything (type 'scenario' and/or attach files for Scenario Mode)…",
|
|
@@ -547,7 +547,7 @@ with gr.Blocks(theme=theme, css=custom_css, analytics_enabled=False) as demo:
|
|
| 547 |
|
| 548 |
# --- MAIN APP (hidden until first message) ---
|
| 549 |
with gr.Column(elem_id="chat-container", visible=False) as app_wrap:
|
| 550 |
-
chat = gr.Chatbot(label="", show_label=False, height="
|
| 551 |
with gr.Row():
|
| 552 |
uploads = gr.Files(
|
| 553 |
label="Upload docs/images (PDF, DOCX, CSV, PNG, JPG)",
|
|
@@ -557,7 +557,7 @@ with gr.Blocks(theme=theme, css=custom_css, analytics_enabled=False) as demo:
|
|
| 557 |
msg = gr.Textbox(
|
| 558 |
label="",
|
| 559 |
show_label=False,
|
| 560 |
-
placeholder="Continue here. Paste scenario details (include the word 'scenario' to trigger), add files
|
| 561 |
scale=10
|
| 562 |
)
|
| 563 |
send = gr.Button("Send", scale=1)
|
|
|
|
| 534 |
# --- HERO (initial Google-like screen) ---
|
| 535 |
with gr.Column(elem_id="hero-wrap", visible=True) as hero_wrap:
|
| 536 |
with gr.Column(elem_id="hero"):
|
| 537 |
+
gr.HTML("<h2>What can I assist with?</h2>")
|
| 538 |
with gr.Row(elem_classes="search-row"):
|
| 539 |
hero_msg = gr.Textbox(
|
| 540 |
placeholder="Ask anything (type 'scenario' and/or attach files for Scenario Mode)…",
|
|
|
|
| 547 |
|
| 548 |
# --- MAIN APP (hidden until first message) ---
|
| 549 |
with gr.Column(elem_id="chat-container", visible=False) as app_wrap:
|
| 550 |
+
chat = gr.Chatbot(label="", show_label=False, height="80vh")
|
| 551 |
with gr.Row():
|
| 552 |
uploads = gr.Files(
|
| 553 |
label="Upload docs/images (PDF, DOCX, CSV, PNG, JPG)",
|
|
|
|
| 557 |
msg = gr.Textbox(
|
| 558 |
label="",
|
| 559 |
show_label=False,
|
| 560 |
+
placeholder="Continue here. Paste scenario details (include the word 'scenario' to trigger), add files above.",
|
| 561 |
scale=10
|
| 562 |
)
|
| 563 |
send = gr.Button("Send", scale=1)
|