Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -222,10 +222,11 @@ def qa_pipeline(question: str, top_k: int = 2):
|
|
| 222 |
# ---------------------------------------------------
|
| 223 |
with gr.Blocks() as demo:
|
| 224 |
gr.Markdown(
|
| 225 |
-
"#
|
| 226 |
-
"Ask
|
| 227 |
-
"dual-encoder
|
| 228 |
-
"
|
|
|
|
| 229 |
)
|
| 230 |
|
| 231 |
with gr.Row():
|
|
|
|
| 222 |
# ---------------------------------------------------
|
| 223 |
with gr.Blocks() as demo:
|
| 224 |
gr.Markdown(
|
| 225 |
+
"# PubMedQA - Biomedical Question Answering\n"
|
| 226 |
+
"Ask any biomedical question. The app searches the PubMedQA dataset with a "
|
| 227 |
+
"dual-encoder, then uses GPT-4o-mini to generate an easy-to-understand answer "
|
| 228 |
+
"based **only** on the retrieved PubMedQA passages.\n\n"
|
| 229 |
+
"It also displays the most similar PubMedQA abstracts below as evidence.\n\n"
|
| 230 |
)
|
| 231 |
|
| 232 |
with gr.Row():
|