| import gradio as gr |
|
|
| def build_prompts_tab(): |
| with gr.TabItem("🚧️ See Prompts", visible=False): |
| gr.HTML( |
| """ |
| <div style="margin-bottom: 10px;"> |
| <span style="font-size: 1.5em; cursor: help;" title="Behind-the-scenes prompt perusing at your leisure"> |
| ℹ️ |
| </span> |
| </div> |
| """ |
| ) |
|
|
| with gr.Row(): |
| with gr.Column(scale=1): |
| pipeline_choice = gr.Dropdown( |
| choices=["Exercise Diagnosis 🩺", "Distractors Brainstorm 🤔", "Learning Objectives Identification 🧠", "ALL OF THEM ✨", ], |
| value="Exercise Diagnosis 🩺", |
| label="Tasks Pipelines 🚧" |
| ) |
| with gr.Column(scale=2): |
| pass |
|
|
| search_field = gr.Textbox(label="Text Search 🚧", placeholder="Dummy placeholder element, doesn't work") |
|
|
| |
| return (pipeline_choice, search_field, ) |
|
|