geninhu commited on
Commit
30e3fc7
1 Parent(s): 0a4335a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
app.py CHANGED
@@ -82,4 +82,15 @@ gr_interface = gr.Interface(
82
  ['samples/4.png', 'samples/8.png', 'samples/7.png'], ['samples/8.png', 'samples/0.png', 'samples/9.png'],
83
  ['samples/5.png', 'samples/6.png', 'samples/3.png'], ['samples/7.png', 'samples/8.png', 'samples/9.png']]
84
  )
 
 
 
 
 
 
 
 
 
 
 
85
  gr_interface.launch(enable_queue=True, debug=False)
 
82
  ['samples/4.png', 'samples/8.png', 'samples/7.png'], ['samples/8.png', 'samples/0.png', 'samples/9.png'],
83
  ['samples/5.png', 'samples/6.png', 'samples/3.png'], ['samples/7.png', 'samples/8.png', 'samples/9.png']]
84
  )
85
+
86
+ with gr.Row():
87
+ gr.Markdown(
88
+ """
89
+ <h4>Credits</h4>
90
+ Author: <a href="https://huggingface.co/geninhu"> Nhu Hoang</a>.<br>
91
+ Based on the following Keras example <a href="https://keras.io/examples/vision/attention_mil_classification/"> Classification using Attention-based Deep Multiple Instance Learning (MIL)</a> by <a href=\"https://www.linkedin.com/in/mohamadjaber1\">Mohamad Jaber.</a> <br>
92
+ Check out the model <a href="https://huggingface.co/keras-io/attention_mil">here</a>
93
+ """
94
+ )
95
+
96
  gr_interface.launch(enable_queue=True, debug=False)