Spaces:
Sleeping
Sleeping
Commit
·
af515d1
1
Parent(s):
28f88e2
Update with examples
Browse files
app.py
CHANGED
@@ -25,12 +25,16 @@ input = gr.inputs.Image(label="Upload any Chest Xray", type = 'pil', optional=Tr
|
|
25 |
output = gr.outputs.Textbox(type="text",label="Preliminary Radiology Report")
|
26 |
|
27 |
title = "X-Ray Report Generation "
|
28 |
-
description = "Made by : Eduardo Farina, Felipe Kitamura and Luciano Prevedello"
|
|
|
|
|
|
|
29 |
interface = gr.Interface(
|
30 |
|
31 |
fn=predict,
|
32 |
description=description,
|
33 |
inputs = input,
|
|
|
34 |
theme="grass",
|
35 |
outputs=output,
|
36 |
title=title,
|
|
|
25 |
output = gr.outputs.Textbox(type="text",label="Preliminary Radiology Report")
|
26 |
|
27 |
title = "X-Ray Report Generation "
|
28 |
+
description = "Made by : Eduardo Farina, Felipe Kitamura and Luciano Prevedello \nThe examples are cases from Radiopaedia"
|
29 |
+
|
30 |
+
examples = ["example_1.jpeg", "example_2.jpeg"]
|
31 |
+
|
32 |
interface = gr.Interface(
|
33 |
|
34 |
fn=predict,
|
35 |
description=description,
|
36 |
inputs = input,
|
37 |
+
examples = examples,
|
38 |
theme="grass",
|
39 |
outputs=output,
|
40 |
title=title,
|