fix: align submit button height, center input text, simplify titles, and clarify stats dashboard briefing
Browse files
app.py
CHANGED
|
@@ -326,16 +326,22 @@ def build_stats_html(stats: Dict[str, Any]) -> str:
|
|
| 326 |
</div>
|
| 327 |
|
| 328 |
<!-- ์์ง๋ ๋ฐ์ดํฐ ๊ท๋ชจ -->
|
| 329 |
-
<div class="stats-grid" style="margin-top: 10px; margin-bottom:
|
| 330 |
<div class="stat-card" style="padding: 8px 10px;">
|
| 331 |
-
<div class="stat-lbl">๐ฐ
|
| 332 |
-
<div class="stat-val" style="color: #334155;">{stats['articles']}
|
| 333 |
</div>
|
| 334 |
<div class="stat-card" style="padding: 8px 10px;">
|
| 335 |
-
<div class="stat-lbl">๐งฌ
|
| 336 |
<div class="stat-val" style="color: #334155;">{node_count}๊ฐ</div>
|
| 337 |
</div>
|
| 338 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 339 |
|
| 340 |
<div class="section-subtitle" style="color: #334155;">๐ก ์ต์ ๋ด์ค ํค์๋</div>
|
| 341 |
<div class="keyword-container">
|
|
@@ -588,39 +594,39 @@ body {
|
|
| 588 |
[class*="examples"] button {
|
| 589 |
text-align: left !important;
|
| 590 |
padding: 14px 18px !important;
|
| 591 |
-
background: #
|
| 592 |
-
border: 1px solid #
|
| 593 |
border-radius: 10px !important;
|
| 594 |
-
font-size:
|
| 595 |
-
font-weight:
|
| 596 |
-
color: #
|
| 597 |
line-height: 1.4 !important;
|
| 598 |
-
box-shadow: 0 3px
|
| 599 |
-
transition: all 0.
|
| 600 |
white-space: normal !important;
|
| 601 |
height: auto !important;
|
| 602 |
min-height: 54px !important;
|
| 603 |
cursor: pointer !important;
|
| 604 |
}
|
| 605 |
.dark [class*="examples"] button {
|
| 606 |
-
background: rgba(
|
| 607 |
-
border-color: rgba(
|
| 608 |
-
color: #
|
| 609 |
}
|
| 610 |
[class*="examples"] button:hover {
|
| 611 |
-
transform: translateY(-
|
| 612 |
-
background: #
|
| 613 |
-
border-color: #
|
| 614 |
-
color: #
|
| 615 |
-
box-shadow: 0
|
| 616 |
}
|
| 617 |
.dark [class*="examples"] button:hover {
|
| 618 |
-
background: rgba(
|
| 619 |
-
border-color:
|
| 620 |
color: #ffffff !important;
|
| 621 |
}
|
| 622 |
|
| 623 |
-
/* ์ฑ๋ด ๋ฒํผ
|
| 624 |
button.primary,
|
| 625 |
.primary-btn,
|
| 626 |
button.lg.primary,
|
|
@@ -628,12 +634,12 @@ button.sm.primary,
|
|
| 628 |
button.variant-primary,
|
| 629 |
button[class*="submit-btn"],
|
| 630 |
[data-testid="submit-button"] {
|
| 631 |
-
background:
|
| 632 |
color: white !important;
|
| 633 |
-
font-weight:
|
| 634 |
-
border:
|
| 635 |
border-radius: 8px !important;
|
| 636 |
-
box-shadow: 0 4px
|
| 637 |
transition: all 0.2s ease-in-out !important;
|
| 638 |
cursor: pointer !important;
|
| 639 |
}
|
|
@@ -642,8 +648,8 @@ button.primary:hover,
|
|
| 642 |
button.variant-primary:hover,
|
| 643 |
button[class*="submit-btn"]:hover,
|
| 644 |
[data-testid="submit-button"]:hover {
|
| 645 |
-
background:
|
| 646 |
-
box-shadow: 0
|
| 647 |
transform: translateY(-1px) !important;
|
| 648 |
}
|
| 649 |
|
|
@@ -717,7 +723,7 @@ button.variant-secondary:hover,
|
|
| 717 |
color: #f1f5f9 !important;
|
| 718 |
}
|
| 719 |
|
| 720 |
-
/* Chatbot ๋ผ๋ฒจ/ํญ
|
| 721 |
.chatbot > div:first-child,
|
| 722 |
[class*="chatbot"] > div:first-child,
|
| 723 |
.chatbot-label,
|
|
@@ -727,11 +733,7 @@ div[class*="chatbot"] .label,
|
|
| 727 |
div[class*="chatbot"] > div:first-child span,
|
| 728 |
.gr-panel-title,
|
| 729 |
.gr-chatbot-label {
|
| 730 |
-
|
| 731 |
-
color: #0f172a !important; /* ๊ฒ์ ์ ๊ธ์จ */
|
| 732 |
-
border: 1px solid #cbd5e1 !important;
|
| 733 |
-
font-weight: 800 !important;
|
| 734 |
-
border-radius: 6px !important;
|
| 735 |
}
|
| 736 |
|
| 737 |
/* ์ฑ๋ด ๋ฉ์ธ ์ปจํ
์ด๋ ํฌ๋ช
ํ ๋ฐ ํ
๋๋ฆฌ ๊น๋ํ */
|
|
@@ -745,18 +747,23 @@ div[class*="chatbot"] > div:first-child span,
|
|
| 745 |
border-color: rgba(14, 165, 233, 0.15) !important;
|
| 746 |
}
|
| 747 |
|
| 748 |
-
/* ์
๋ ฅ์ฐฝ(ํ
์คํธ์์ด๋ฆฌ์ด) ์ธ๋ก ๋์ด ๋ฐ
|
| 749 |
textarea,
|
| 750 |
[class*="input-container"] textarea,
|
| 751 |
[data-testid="textbox"] textarea {
|
|
|
|
| 752 |
min-height: 58px !important;
|
|
|
|
| 753 |
font-size: 13px !important;
|
| 754 |
-
padding:
|
| 755 |
line-height: 1.5 !important;
|
| 756 |
border-radius: 8px !important;
|
| 757 |
border: 1px solid #cbd5e1 !important;
|
| 758 |
background: rgba(255, 255, 255, 0.8) !important;
|
| 759 |
color: #0f172a !important; /* ์
๋ ฅ ํ
์คํธ ๊ฒ์ ์ */
|
|
|
|
|
|
|
|
|
|
| 760 |
}
|
| 761 |
textarea:focus {
|
| 762 |
border-color: #0ea5e9 !important; /* ํฌ์ปค์ค ์ ์ค์นด์ด ๋ธ๋ฃจ */
|
|
@@ -768,26 +775,45 @@ textarea:focus {
|
|
| 768 |
color: white !important;
|
| 769 |
}
|
| 770 |
|
| 771 |
-
/* ์ฑ๋ด ์
๋ ฅ์ฐฝ๊ณผ ์ ์ก ๋ฒํผ ์ฌ๋ฐฑ ๋ถ๋ฆฌ */
|
| 772 |
button[class*="submit-btn"],
|
| 773 |
[data-testid="submit-button"],
|
| 774 |
#submit-btn {
|
| 775 |
margin-left: 12px !important;
|
| 776 |
border-radius: 8px !important;
|
| 777 |
min-width: 95px !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 778 |
}
|
| 779 |
div:has(> button[class*="submit-btn"]),
|
| 780 |
div:has(> [data-testid="submit-button"]),
|
| 781 |
.input-container,
|
| 782 |
[class*="input-container"] {
|
| 783 |
gap: 12px !important;
|
|
|
|
| 784 |
}
|
| 785 |
|
| 786 |
-
/* ์ฑ๋ด ๋ต๋ณ ๋งํฌ๋ค์ด ๊ฐ๋
์ฑ ๋ฐ ์๊ฐ/์ค๊ฐ๊ฒฉ ์ต์ ํ */
|
| 787 |
.message p, .message li, [class*="message"] p, [class*="message"] li {
|
| 788 |
line-height: 1.68 !important;
|
| 789 |
margin-bottom: 14px !important;
|
| 790 |
letter-spacing: -0.01em !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 791 |
}
|
| 792 |
.message h3, [class*="message"] h3 {
|
| 793 |
margin-top: 24px !important;
|
|
@@ -803,10 +829,8 @@ interface_kwargs = {
|
|
| 803 |
placeholder="๋ถ์ํ๊ณ ์ถ์ ๋ด์ฉ์ ์์ฐ์ด๋ก ์
๋ ฅํด์ฃผ์ธ์...",
|
| 804 |
container=False,
|
| 805 |
scale=7,
|
| 806 |
-
submit_btn="์ ์ก
|
| 807 |
),
|
| 808 |
-
"title": "FinGraph โ GraphRAG AI Terminal",
|
| 809 |
-
"description": "> ์ต์ AI ๋ด์ค๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ๊ตฌ์ถ๋ ์ง์ ๊ทธ๋ํ(GraphRAG)์์ ๋ต๋ณํฉ๋๋ค.",
|
| 810 |
"examples": [
|
| 811 |
"์ผ์ฑ์ ์์ ์ต๊ทผ AI ๊ธฐ์ ํธ๋ ๋๋?",
|
| 812 |
"์นด์นด์ค๊ฐ ๊ฐ๋ฐ ์ค์ธ AI ์๏ฟฝ๏ฟฝ์ค ๋ชฉ๋ก์ ์๋ ค์ค",
|
|
@@ -856,14 +880,6 @@ with gr.Blocks(**blocks_kwargs) as demo:
|
|
| 856 |
|
| 857 |
# 3. ์ค๋ฅธ์ชฝ ์ปฌ๋ผ: ๋ฉ์ธ ์ฑ๋ด ์์ด๋ฆฌ์ด - 3:7 split์ ์ํด scale=7 ์ค์
|
| 858 |
with gr.Column(scale=7, min_width=500):
|
| 859 |
-
# ๋ฉ์ธ ํ์ดํ (์ฑ๋ด ์์ญ ์๋จ ์ค์)
|
| 860 |
-
gr.HTML("""
|
| 861 |
-
<div style="text-align: center; padding: 10px 0 20px 0;">
|
| 862 |
-
<h2 style="font-size: 18px; font-weight: 900; color: #0f172a; margin-bottom: 5px; display: flex; align-items: center; justify-content: center; gap: 8px;">๐งฌ FinGraph โ GraphRAG AI Terminal</h2>
|
| 863 |
-
<p style="color: #475569; font-size: 13px; font-weight: 500;">์ต์ AI ๋ด์ค๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ๊ตฌ์ถ๋ ์ง์ ๊ทธ๋ํ(GraphRAG)์์ ๋ต๋ณํฉ๋๋ค.</p>
|
| 864 |
-
</div>
|
| 865 |
-
""")
|
| 866 |
-
|
| 867 |
# ChatInterface without redundant titles/descriptions
|
| 868 |
chatbot_interface_kwargs = interface_kwargs.copy()
|
| 869 |
chatbot_interface_kwargs.pop("title", None)
|
|
|
|
| 326 |
</div>
|
| 327 |
|
| 328 |
<!-- ์์ง๋ ๋ฐ์ดํฐ ๊ท๋ชจ -->
|
| 329 |
+
<div class="stats-grid" style="margin-top: 10px; margin-bottom: 8px;">
|
| 330 |
<div class="stat-card" style="padding: 8px 10px;">
|
| 331 |
+
<div class="stat-lbl">๐ฐ ๋ถ์์ฉ ๋ด์ค ๊ธฐ์ฌ</div>
|
| 332 |
+
<div class="stat-val" style="color: #334155;">{stats['articles']}๊ฑด</div>
|
| 333 |
</div>
|
| 334 |
<div class="stat-card" style="padding: 8px 10px;">
|
| 335 |
+
<div class="stat-lbl">๐งฌ ์ถ์ถ๋ ์ง์ ์ฐ๊ฒฐ๋ง</div>
|
| 336 |
<div class="stat-val" style="color: #334155;">{node_count}๊ฐ</div>
|
| 337 |
</div>
|
| 338 |
</div>
|
| 339 |
+
|
| 340 |
+
<!-- ๋ฐ์ดํฐ ๋ฐฐ๊ฒฝ ์ ๋ณด ์ค๋ช
ํจ๋ (์ฌ์ฉ์ ์ดํด๋ฅผ ๋๋ ๋ฐฐ๊ฒฝ ์ ๋ณด ์น์ ์์ ) -->
|
| 341 |
+
<div style="font-size: 11px; color: #475569; line-height: 1.5; margin-top: 8px; margin-bottom: 15px; padding: 10px; background: rgba(241, 245, 249, 0.7); border: 1px solid #cbd5e1; border-radius: 8px;">
|
| 342 |
+
โน๏ธ <b>๋ฐ์ดํฐ ์์ง ๋ฐฐ๊ฒฝ ์ ๋ณด</b><br>
|
| 343 |
+
์ค์๊ฐ ๋ด์ค ์น ํฌ๋กค๋ฌ๊ฐ ๊ตญ๋ด IT/๊ธ์ต ๊ธฐ์ฌ <b>{stats['articles']}๊ฑด</b>์ ์ ๋ฐ ์์งํ์์ผ๋ฉฐ, ๋ด์ค ๋ณธ๋ฌธ์ ๋ถ์ํ์ฌ ๊ธฐ์ฌ ์ ์ฃผ์ ๊ธฐ์
ยทํต์ฌ ๊ธฐ์ ยท์๋น์ค ๊ฐ์ ์
์ฒด์ ์ฐ๊ด ๊ด๊ณ <b>{node_count}๊ฐ</b>๋ฅผ ์ฐ๊ฒฐ๋ง(์ง์ ๊ทธ๋ํ)์ผ๋ก ์๋ฒฝํ๊ฒ ์ฐ๋ํ์์ต๋๋ค.
|
| 344 |
+
</div>
|
| 345 |
|
| 346 |
<div class="section-subtitle" style="color: #334155;">๐ก ์ต์ ๋ด์ค ํค์๋</div>
|
| 347 |
<div class="keyword-container">
|
|
|
|
| 594 |
[class*="examples"] button {
|
| 595 |
text-align: left !important;
|
| 596 |
padding: 14px 18px !important;
|
| 597 |
+
background: #ffffff !important; /* ๊นจ๋ํ๊ณ ๋จ์ ํ ํ์ดํธ */
|
| 598 |
+
border: 1px solid #cbd5e1 !important; /* ์ํํธํ ์ฌ๋ ์ดํธ ํ
๋๋ฆฌ */
|
| 599 |
border-radius: 10px !important;
|
| 600 |
+
font-size: 13px !important;
|
| 601 |
+
font-weight: 600 !important;
|
| 602 |
+
color: #0f172a !important; /* ๋จ์ ํ ๊ฒ์ ์ */
|
| 603 |
line-height: 1.4 !important;
|
| 604 |
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
|
| 605 |
+
transition: all 0.2s ease-in-out !important;
|
| 606 |
white-space: normal !important;
|
| 607 |
height: auto !important;
|
| 608 |
min-height: 54px !important;
|
| 609 |
cursor: pointer !important;
|
| 610 |
}
|
| 611 |
.dark [class*="examples"] button {
|
| 612 |
+
background: rgba(30, 41, 59, 0.5) !important;
|
| 613 |
+
border-color: rgba(148, 163, 184, 0.2) !important;
|
| 614 |
+
color: #e2e8f0 !important;
|
| 615 |
}
|
| 616 |
[class*="examples"] button:hover {
|
| 617 |
+
transform: translateY(-1px) !important;
|
| 618 |
+
background: #f8fafc !important; /* ์์ฃผ ์
์ ์คํํ์ดํธ ํธ๋ฒ */
|
| 619 |
+
border-color: #94a3b8 !important;
|
| 620 |
+
color: #0f172a !important;
|
| 621 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06) !important;
|
| 622 |
}
|
| 623 |
.dark [class*="examples"] button:hover {
|
| 624 |
+
background: rgba(30, 41, 59, 0.85) !important;
|
| 625 |
+
border-color: rgba(148, 163, 184, 0.4) !important;
|
| 626 |
color: #ffffff !important;
|
| 627 |
}
|
| 628 |
|
| 629 |
+
/* ์ฑ๋ด ์ ์ก ๋ฒํผ ํ๋ฆฌ๋ฏธ์ ๋คํฌ ์ฌ๋ ์ดํธ ์คํ์ผ (์ด์ํ ๊ทธ๋ผ๋ฐ์ด์
์ ๊ฑฐ, ๋จ์ ํ๊ณ ์ผ๊ด์ฑ ์๋ ์๊ฐ) */
|
| 630 |
button.primary,
|
| 631 |
.primary-btn,
|
| 632 |
button.lg.primary,
|
|
|
|
| 634 |
button.variant-primary,
|
| 635 |
button[class*="submit-btn"],
|
| 636 |
[data-testid="submit-button"] {
|
| 637 |
+
background: #1e293b !important; /* ํ๋ฆฌ๋ฏธ์ ๋คํฌ ์ฌ๋ ์ดํธ ์ฐจ์ฝ */
|
| 638 |
color: white !important;
|
| 639 |
+
font-weight: 700 !important;
|
| 640 |
+
border: 1px solid #0f172a !important;
|
| 641 |
border-radius: 8px !important;
|
| 642 |
+
box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08) !important;
|
| 643 |
transition: all 0.2s ease-in-out !important;
|
| 644 |
cursor: pointer !important;
|
| 645 |
}
|
|
|
|
| 648 |
button.variant-primary:hover,
|
| 649 |
button[class*="submit-btn"]:hover,
|
| 650 |
[data-testid="submit-button"]:hover {
|
| 651 |
+
background: #0f172a !important; /* ํธ๋ฒ ์ ๋ฅ ๋ธ๋ */
|
| 652 |
+
box-shadow: 0 4px 8px rgba(15, 23, 42, 0.15) !important;
|
| 653 |
transform: translateY(-1px) !important;
|
| 654 |
}
|
| 655 |
|
|
|
|
| 723 |
color: #f1f5f9 !important;
|
| 724 |
}
|
| 725 |
|
| 726 |
+
/* Chatbot ๋ผ๋ฒจ/ํญ ์์ ์จ๊น (๋ถํ์ํ ๋ณด๋ผ์/ํ๋์ ์์ ๋ฐ ํ
๋๋ฆฌ ์์ฒ ์ฐจ๋จ) */
|
| 727 |
.chatbot > div:first-child,
|
| 728 |
[class*="chatbot"] > div:first-child,
|
| 729 |
.chatbot-label,
|
|
|
|
| 733 |
div[class*="chatbot"] > div:first-child span,
|
| 734 |
.gr-panel-title,
|
| 735 |
.gr-chatbot-label {
|
| 736 |
+
display: none !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 737 |
}
|
| 738 |
|
| 739 |
/* ์ฑ๋ด ๋ฉ์ธ ์ปจํ
์ด๋ ํฌ๋ช
ํ ๋ฐ ํ
๋๋ฆฌ ๊น๋ํ */
|
|
|
|
| 747 |
border-color: rgba(14, 165, 233, 0.15) !important;
|
| 748 |
}
|
| 749 |
|
| 750 |
+
/* ์
๋ ฅ์ฐฝ(ํ
์คํธ์์ด๋ฆฌ์ด) ์ธ๋ก ๋์ด ๋ฐ ๋จ์ผ ํ ์์ง ์ค์ ์ ๋ ฌ ์ต์ ํ */
|
| 751 |
textarea,
|
| 752 |
[class*="input-container"] textarea,
|
| 753 |
[data-testid="textbox"] textarea {
|
| 754 |
+
height: 58px !important;
|
| 755 |
min-height: 58px !important;
|
| 756 |
+
max-height: 58px !important;
|
| 757 |
font-size: 13px !important;
|
| 758 |
+
padding: 18px 16px !important; /* ์์๋ ํจ๋ฉ์ 18px๋ก ๋์นญ ์กฐ์ ํ์ฌ ํ
์คํธ๊ฐ ์์ง ์ ์ค์์ ์๋ฒฝํ๊ฒ ๋ฐฐ์น */
|
| 759 |
line-height: 1.5 !important;
|
| 760 |
border-radius: 8px !important;
|
| 761 |
border: 1px solid #cbd5e1 !important;
|
| 762 |
background: rgba(255, 255, 255, 0.8) !important;
|
| 763 |
color: #0f172a !important; /* ์
๋ ฅ ํ
์คํธ ๊ฒ์ ์ */
|
| 764 |
+
resize: none !important; /* ์ธ๋ก ํฌ๊ธฐ ์กฐ์ ๋ฐฉ์ง */
|
| 765 |
+
overflow-y: hidden !important; /* ์คํฌ๋กค๋ฐ ๊ฐ์ถค */
|
| 766 |
+
box-sizing: border-box !important;
|
| 767 |
}
|
| 768 |
textarea:focus {
|
| 769 |
border-color: #0ea5e9 !important; /* ํฌ์ปค์ค ์ ์ค์นด์ด ๋ธ๋ฃจ */
|
|
|
|
| 775 |
color: white !important;
|
| 776 |
}
|
| 777 |
|
| 778 |
+
/* ์ฑ๋ด ์
๋ ฅ์ฐฝ๊ณผ ์ ์ก ๋ฒํผ ์ธ๋ก ๋์ด ์๋ฒฝ ๋๊ธฐํ ๋ฐ ์ฌ๋ฐฑ ๋ถ๋ฆฌ */
|
| 779 |
button[class*="submit-btn"],
|
| 780 |
[data-testid="submit-button"],
|
| 781 |
#submit-btn {
|
| 782 |
margin-left: 12px !important;
|
| 783 |
border-radius: 8px !important;
|
| 784 |
min-width: 95px !important;
|
| 785 |
+
height: 58px !important; /* ์
๋ ฅ์ฐฝ์ height(58px)์ 100% ๋์ผํ๊ฒ ์ผ์น์์ผ ์๋ฒฝํ ๋์นญ ๊ตฌ์กฐ ๋ฌ์ฑ */
|
| 786 |
+
padding: 0 16px !important;
|
| 787 |
+
display: flex !important;
|
| 788 |
+
align-items: center !important;
|
| 789 |
+
justify-content: center !important;
|
| 790 |
+
box-sizing: border-box !important;
|
| 791 |
}
|
| 792 |
div:has(> button[class*="submit-btn"]),
|
| 793 |
div:has(> [data-testid="submit-button"]),
|
| 794 |
.input-container,
|
| 795 |
[class*="input-container"] {
|
| 796 |
gap: 12px !important;
|
| 797 |
+
align-items: center !important; /* ์์ง์ถ ๊ธฐ์ค์ผ๋ก ์ค์ ์ ๋ ฌ */
|
| 798 |
}
|
| 799 |
|
| 800 |
+
/* ์ฑ๋ด ๋ต๋ณ ๋งํฌ๋ค์ด ๊ฐ๋
์ฑ ๋ฐ ์๊ฐ/์ค๊ฐ๊ฒฉ ์ต์ ํ (์ธ๋ผ์ธ ์์์ ์์ง ์ /๋ณด๋ ์์ฒ ์ฐจ๋จ) */
|
| 801 |
.message p, .message li, [class*="message"] p, [class*="message"] li {
|
| 802 |
line-height: 1.68 !important;
|
| 803 |
margin-bottom: 14px !important;
|
| 804 |
letter-spacing: -0.01em !important;
|
| 805 |
+
border: none !important;
|
| 806 |
+
border-left: none !important;
|
| 807 |
+
border-right: none !important;
|
| 808 |
+
box-shadow: none !important;
|
| 809 |
+
}
|
| 810 |
+
.message blockquote, [class*="message"] blockquote {
|
| 811 |
+
border: none !important;
|
| 812 |
+
border-left: none !important;
|
| 813 |
+
border-right: none !important;
|
| 814 |
+
padding: 0 !important;
|
| 815 |
+
margin: 0 !important;
|
| 816 |
+
box-shadow: none !important;
|
| 817 |
}
|
| 818 |
.message h3, [class*="message"] h3 {
|
| 819 |
margin-top: 24px !important;
|
|
|
|
| 829 |
placeholder="๋ถ์ํ๊ณ ์ถ์ ๋ด์ฉ์ ์์ฐ์ด๋ก ์
๋ ฅํด์ฃผ์ธ์...",
|
| 830 |
container=False,
|
| 831 |
scale=7,
|
| 832 |
+
submit_btn="์ ์ก",
|
| 833 |
),
|
|
|
|
|
|
|
| 834 |
"examples": [
|
| 835 |
"์ผ์ฑ์ ์์ ์ต๊ทผ AI ๊ธฐ์ ํธ๋ ๋๋?",
|
| 836 |
"์นด์นด์ค๊ฐ ๊ฐ๋ฐ ์ค์ธ AI ์๏ฟฝ๏ฟฝ์ค ๋ชฉ๋ก์ ์๋ ค์ค",
|
|
|
|
| 880 |
|
| 881 |
# 3. ์ค๋ฅธ์ชฝ ์ปฌ๋ผ: ๋ฉ์ธ ์ฑ๋ด ์์ด๋ฆฌ์ด - 3:7 split์ ์ํด scale=7 ์ค์
|
| 882 |
with gr.Column(scale=7, min_width=500):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 883 |
# ChatInterface without redundant titles/descriptions
|
| 884 |
chatbot_interface_kwargs = interface_kwargs.copy()
|
| 885 |
chatbot_interface_kwargs.pop("title", None)
|