dongsheng commited on
Commit
7bd876a
1 Parent(s): 3cc38da

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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)