Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -24,9 +24,9 @@ description = """
|
|
24 |
We fine-tuned the BioBart 440M parameter model on a dataset of 52,000 radiology reports scraped from MIMIC-III specifically for the task of summarization.
|
25 |
|
26 |
The model is able to generate impressions summarizing key findings from the longer radiology reports.
|
27 |
-
|
28 |
-
Enter a radiology report to see the generated impression summary!
|
29 |
"""
|
|
|
|
|
30 |
|
31 |
def summarize(radiology_report):
|
32 |
summary = summarizer(radiology_report)[0]['summary_text']
|
|
|
24 |
We fine-tuned the BioBart 440M parameter model on a dataset of 52,000 radiology reports scraped from MIMIC-III specifically for the task of summarization.
|
25 |
|
26 |
The model is able to generate impressions summarizing key findings from the longer radiology reports.
|
|
|
|
|
27 |
"""
|
28 |
+
"<b>Enter a radiology report to see the generated impression summary!</b>"
|
29 |
+
|
30 |
|
31 |
def summarize(radiology_report):
|
32 |
summary = summarizer(radiology_report)[0]['summary_text']
|