Spaces:
Sleeping
Sleeping
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -743,6 +743,25 @@ with gr.Blocks(
|
|
| 743 |
# ── Full-Width Bottom Row: Long Examples Table ─────────────────────
|
| 744 |
with gr.Row():
|
| 745 |
with gr.Column(scale=12):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 746 |
gr.Examples(
|
| 747 |
examples=EXAMPLES,
|
| 748 |
inputs=[prompt_in, opt_a, opt_b, opt_c, opt_d, opt_e],
|
|
|
|
| 743 |
# ── Full-Width Bottom Row: Long Examples Table ─────────────────────
|
| 744 |
with gr.Row():
|
| 745 |
with gr.Column(scale=12):
|
| 746 |
+
gr.HTML("""
|
| 747 |
+
<div style="background:linear-gradient(135deg, rgba(0,245,212,0.08), rgba(129,140,248,0.08));
|
| 748 |
+
border:1px solid rgba(0,245,212,0.25);border-radius:14px;
|
| 749 |
+
padding:16px 24px;margin-top:20px;margin-bottom:8px;
|
| 750 |
+
font-family:'Inter',sans-serif;box-shadow:0 4px 20px rgba(0,0,0,0.2);">
|
| 751 |
+
<div style="display:flex;align-items:center;gap:14px;flex-wrap:wrap;">
|
| 752 |
+
<span style="font-size:24px;background:rgba(0,245,212,0.15);padding:8px 12px;border-radius:10px;">💡</span>
|
| 753 |
+
<div style="flex:1;">
|
| 754 |
+
<div style="font-size:12px;font-weight:800;color:#00f5d4;font-family:'JetBrains Mono',monospace;
|
| 755 |
+
letter-spacing:1.5px;text-transform:uppercase;">
|
| 756 |
+
INSTRUCTIONS & QUICK-LOAD GUIDE
|
| 757 |
+
</div>
|
| 758 |
+
<div style="font-size:12px;color:#e2e8f0;margin-top:4px;line-height:1.6;">
|
| 759 |
+
⚡ <strong>Auto-Fill Question & Options:</strong> Click or double-click any row in the table below to instantly load the question and options into the form.<br/>
|
| 760 |
+
✏️ <strong>Custom Question & Options:</strong> You can also type, edit, or paste your own custom question and 5 options directly into the fields above anytime!
|
| 761 |
+
</div>
|
| 762 |
+
</div>
|
| 763 |
+
</div>
|
| 764 |
+
</div>""")
|
| 765 |
gr.Examples(
|
| 766 |
examples=EXAMPLES,
|
| 767 |
inputs=[prompt_in, opt_a, opt_b, opt_c, opt_d, opt_e],
|