Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -54,9 +54,9 @@ if __name__ == '__main__':
|
|
54 |
6: '病理性近视',
|
55 |
7: '其他疾病'}
|
56 |
|
57 |
-
left_img_dir = 'left.jpg'
|
58 |
-
right_img_dir = 'right.jpg'
|
59 |
-
r = img2label(left_img_dir, right_img_dir)
|
60 |
demo = gr.Interface(fn=img2label, inputs=[gr.inputs.Image(), gr.inputs.Image()], outputs='label',
|
61 |
title=title, description=description)
|
62 |
demo.launch(share=True)
|
|
|
54 |
6: '病理性近视',
|
55 |
7: '其他疾病'}
|
56 |
|
57 |
+
# left_img_dir = 'left.jpg'
|
58 |
+
# right_img_dir = 'right.jpg'
|
59 |
+
# r = img2label(left_img_dir, right_img_dir)
|
60 |
demo = gr.Interface(fn=img2label, inputs=[gr.inputs.Image(), gr.inputs.Image()], outputs='label',
|
61 |
title=title, description=description)
|
62 |
demo.launch(share=True)
|