Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -90,23 +90,46 @@ def run_model_on_text(text):
|
|
| 90 |
generated_text += new_text
|
| 91 |
yield generated_text
|
| 92 |
|
| 93 |
-
place_holder = f"""Study Objectives
|
| 94 |
-
|
| 95 |
|
| 96 |
-
|
| 97 |
|
| 98 |
-
Conditions
|
|
|
|
| 99 |
|
| 100 |
-
Intervention / Treatment
|
| 101 |
Diagnostic Test: Near Focus NBI
|
| 102 |
-
Diagnostic Test: Standard Focus NBI
|
| 103 |
|
| 104 |
-
|
| 105 |
-
|
| 106 |
|
| 107 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
|
| 109 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
|
| 111 |
prompt_box = gr.Textbox(
|
| 112 |
lines=25,
|
|
|
|
| 90 |
generated_text += new_text
|
| 91 |
yield generated_text
|
| 92 |
|
| 93 |
+
place_holder = f""""Study Objectives
|
| 94 |
+
Optical diagnosis of colorectal polyps is a promising tool to avoid risks of unnecessary polypectomies and to save costs of tissue pathology. NICE (NBI International Colorectal Endoscopic) and WASP (Workgroup on Serrated Polyps and Polyposis) classification were developed for diagnosis of adenomatous and sessile serrated polyps, respectively.
|
| 95 |
|
| 96 |
+
Near-focus (NF) narrow-band imaging (NBI) is an image-magnifying technology which enables optical magnification of up to 65x in near focus (NF) compared with 52x in normal standard focus (SF) with the simple push of a button of the endoscope to be interchangeable between NF and SF. There were few studies comparing diagnostic accuracy between NF and SF in the diagnosis of colorectal polyps. So, our aim of the current study is to compare accuracy of NF NBI compared with SF NBI in the optical diagnosis of neoplastic and non-neoplastic polyp and the accuracy of NF NBI versus SF NBI in distinguishing serrated adenoma from hyperplastic polyp in sessile lesions using histologic evaluation as the gold standard.
|
| 97 |
|
| 98 |
+
Conditions
|
| 99 |
+
Colorectal Polyp, Colorectal Neoplasms
|
| 100 |
|
| 101 |
+
Intervention / Treatment
|
| 102 |
Diagnostic Test: Near Focus NBI
|
| 103 |
+
Diagnostic Test: Standard Focus NBI
|
| 104 |
|
| 105 |
+
Location
|
| 106 |
+
Hat Yai, Songkhla, Thailand
|
| 107 |
|
| 108 |
+
Study Design and Phases
|
| 109 |
+
Study Type: Interventional
|
| 110 |
+
Phase: Not Applicable
|
| 111 |
+
Primary Purpose: Diagnostic
|
| 112 |
+
Allocation: Randomized
|
| 113 |
+
Interventional Model: Parallel Assignment
|
| 114 |
+
Masking: None (Open Label)
|
| 115 |
+
""""
|
| 116 |
|
| 117 |
+
prefilled_value = """"Study Objectives
|
| 118 |
+
[Brief Summary] and/or [Detailed Description]
|
| 119 |
+
|
| 120 |
+
Conditions
|
| 121 |
+
|
| 122 |
+
Intervention / Treatment
|
| 123 |
+
|
| 124 |
+
Location
|
| 125 |
+
|
| 126 |
+
Study Design and Phases
|
| 127 |
+
Study Type
|
| 128 |
+
Phase
|
| 129 |
+
Primary Purpose
|
| 130 |
+
Allocation
|
| 131 |
+
Interventional Model
|
| 132 |
+
Masking""""
|
| 133 |
|
| 134 |
prompt_box = gr.Textbox(
|
| 135 |
lines=25,
|