Spaces:
Runtime error
Runtime error
santiago
commited on
Commit
·
db27411
1
Parent(s):
f789a20
remove screenshot
Browse files
app.py
CHANGED
|
@@ -63,11 +63,11 @@ def score_image_caption_pair(uploaded_file, text_input):
|
|
| 63 |
|
| 64 |
image = gr.inputs.Image(shape=(299, 299))
|
| 65 |
iface = gr.Interface(
|
| 66 |
-
fn=score_image_caption_pair, inputs=[image, "text"], outputs=["label"], allow_flagging=False,
|
| 67 |
title="Your personal TA",
|
| 68 |
description="""
|
| 69 |
The purpose of this demo is to help medical students measure their diagnostic capabilities in purely academic settings.
|
| 70 |
Under no circumstances should it be used to make a self-diagnosis or confront a real doctor.
|
| 71 |
"""
|
| 72 |
)
|
| 73 |
-
iface.launch()
|
|
|
|
| 63 |
|
| 64 |
image = gr.inputs.Image(shape=(299, 299))
|
| 65 |
iface = gr.Interface(
|
| 66 |
+
fn=score_image_caption_pair, inputs=[image, "text"], outputs=["label"], allow_flagging=False, allow_screenshot=False,
|
| 67 |
title="Your personal TA",
|
| 68 |
description="""
|
| 69 |
The purpose of this demo is to help medical students measure their diagnostic capabilities in purely academic settings.
|
| 70 |
Under no circumstances should it be used to make a self-diagnosis or confront a real doctor.
|
| 71 |
"""
|
| 72 |
)
|
| 73 |
+
iface.launch()
|