Spaces:
Sleeping
Sleeping
Updated UI
Browse files- src/ui/gradio_app.py +37 -19
src/ui/gradio_app.py
CHANGED
|
@@ -421,10 +421,28 @@ The agent will acknowledge your upload and help you analyze the meeting.
|
|
| 421 |
label="π Try these examples (click to populate):"
|
| 422 |
)
|
| 423 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 424 |
gr.Markdown("""
|
| 425 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 426 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 427 |
**ποΈ Memory Tip:** If you delete a meeting or want to start fresh, click the **Trash Icon** (Clear) above the chat to flush the agent's memory.
|
|
|
|
|
|
|
| 428 |
""")
|
| 429 |
|
| 430 |
# ========================================
|
|
@@ -474,9 +492,18 @@ The agent will acknowledge your upload and help you analyze the meeting.
|
|
| 474 |
outputs=[upload_result, transcript_editor]
|
| 475 |
)
|
| 476 |
|
|
|
|
| 477 |
gr.Markdown("""
|
| 478 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
| 479 |
**Note:** The transcription will be automatically cleared after successful upload.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 480 |
""")
|
| 481 |
|
| 482 |
# ========================================
|
|
@@ -536,28 +563,19 @@ The agent will acknowledge your upload and help you analyze the meeting.
|
|
| 536 |
gr.Markdown("""
|
| 537 |
---
|
| 538 |
**β οΈ Warning:** Deletion is permanent and cannot be undone!
|
| 539 |
-
|
| 540 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 541 |
- Use this to clean up test transcriptions
|
| 542 |
- Meeting IDs are automatically generated when you upload videos
|
| 543 |
- You can filter meetings by asking the chatbot: "What meetings do I have from last week?"
|
| 544 |
""")
|
| 545 |
-
|
| 546 |
-
|
| 547 |
-
# Footer (outside tabs, always visible)
|
| 548 |
-
gr.Markdown("""
|
| 549 |
-
---
|
| 550 |
-
""")
|
| 551 |
-
with gr.Accordion("π‘ Tips", open=False):
|
| 552 |
-
gr.Markdown("""
|
| 553 |
-
---
|
| 554 |
-
|
| 555 |
-
- Click the π button or drag & drop to upload video files
|
| 556 |
-
- Supported formats: MP4, AVI, MOV
|
| 557 |
-
- Transcription includes automatic speaker identification
|
| 558 |
-
- Use the "Edit Transcript" tab to make corrections before uploading
|
| 559 |
-
- Ask specific questions to get better search results
|
| 560 |
-
""")
|
| 561 |
|
| 562 |
gr.Markdown("""
|
| 563 |
<div style="text-align: center; margin-top: 2rem; padding-bottom: 2rem; border-top: 1px solid #E5E7EB; padding-top: 2rem;">
|
|
|
|
| 421 |
label="π Try these examples (click to populate):"
|
| 422 |
)
|
| 423 |
|
| 424 |
+
# gr.Markdown("""
|
| 425 |
+
# **π‘ Tip:** After transcription completes, you can **view the full transcript** and make edits in the **"βοΈ Edit Transcript"** tab before uploading to Pinecone!
|
| 426 |
+
|
| 427 |
+
# **ποΈ Memory Tip:** If you delete a meeting or want to start fresh, click the **Trash Icon** (Clear) above the chat to flush the agent's memory.
|
| 428 |
+
# """)
|
| 429 |
+
# Footer (outside tabs, always visible)
|
| 430 |
gr.Markdown("""
|
| 431 |
+
---
|
| 432 |
+
""")
|
| 433 |
+
with gr.Accordion("π‘ Tips", open=False):
|
| 434 |
+
gr.Markdown("""
|
| 435 |
+
---
|
| 436 |
|
| 437 |
+
- Click the π button or drag & drop to upload video files
|
| 438 |
+
- Supported formats: MP4, AVI, MOV
|
| 439 |
+
- Transcription includes automatic speaker identification
|
| 440 |
+
|
| 441 |
+
- After transcription completes, you can **view the full transcript** and make edits in the **"βοΈ Edit Transcript"** tab before uploading to Pinecone!
|
| 442 |
+
|
| 443 |
**ποΈ Memory Tip:** If you delete a meeting or want to start fresh, click the **Trash Icon** (Clear) above the chat to flush the agent's memory.
|
| 444 |
+
|
| 445 |
+
- Ask specific questions to get better search results
|
| 446 |
""")
|
| 447 |
|
| 448 |
# ========================================
|
|
|
|
| 492 |
outputs=[upload_result, transcript_editor]
|
| 493 |
)
|
| 494 |
|
| 495 |
+
# Footer (inside tabs)
|
| 496 |
gr.Markdown("""
|
| 497 |
---
|
| 498 |
+
""")
|
| 499 |
+
with gr.Accordion("π‘ Tips", open=False):
|
| 500 |
+
gr.Markdown("""
|
| 501 |
+
|
| 502 |
**Note:** The transcription will be automatically cleared after successful upload.
|
| 503 |
+
|
| 504 |
+
- After transcription completes, you can **view the full transcript** and make edits in the **"βοΈ Edit Transcript"** tab before uploading to Pinecone!
|
| 505 |
+
|
| 506 |
+
- After editing the transcript, you can continue to chat with the agent or go to the **"π Manage Meetings"** tab to upload the edited transcript to Pinecone.
|
| 507 |
""")
|
| 508 |
|
| 509 |
# ========================================
|
|
|
|
| 563 |
gr.Markdown("""
|
| 564 |
---
|
| 565 |
**β οΈ Warning:** Deletion is permanent and cannot be undone!
|
| 566 |
+
|
| 567 |
+
""")
|
| 568 |
+
|
| 569 |
+
# Footer (inside tabs)
|
| 570 |
+
# gr.Markdown("""
|
| 571 |
+
# ---
|
| 572 |
+
# """)
|
| 573 |
+
with gr.Accordion("π‘ Tips", open=False):
|
| 574 |
+
gr.Markdown("""
|
| 575 |
- Use this to clean up test transcriptions
|
| 576 |
- Meeting IDs are automatically generated when you upload videos
|
| 577 |
- You can filter meetings by asking the chatbot: "What meetings do I have from last week?"
|
| 578 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 579 |
|
| 580 |
gr.Markdown("""
|
| 581 |
<div style="text-align: center; margin-top: 2rem; padding-bottom: 2rem; border-top: 1px solid #E5E7EB; padding-top: 2rem;">
|