ariG23498 HF staff commited on
Commit
8daad1a
1 Parent(s): 5a64023

chore: remove description and add article

Browse files
Files changed (1) hide show
  1. app.py +7 -5
app.py CHANGED
@@ -27,13 +27,15 @@ def infer(test_image):
27
  tf.keras.utils.array_to_img(inv3_kernel[0, ..., None]),
28
  )
29
 
 
 
 
 
 
30
  iface = gr.Interface(
31
  fn=infer,
32
- title = "Involutional Neural Networks",
33
- description =
34
- """Authors: [Aritra Roy Gosthipaty](https://twitter.com/ariG23498) and [Ritwik Raha](https://twitter.com/ritwik_raha)
35
- Paper: [Involution: Inverting the Inherence of Convolution for Visual Recognition](https://arxiv.org/abs/2103.06255)
36
- """,
37
  inputs=gr.inputs.Image(label="Input Image"),
38
  outputs=[
39
  gr.outputs.Image(label="Activation from Kernel 1"),
 
27
  tf.keras.utils.array_to_img(inv3_kernel[0, ..., None]),
28
  )
29
 
30
+ # define the article
31
+ article = """Authors: [Aritra Roy Gosthipaty](https://twitter.com/ariG23498)
32
+ and [Ritwik Raha](https://twitter.com/ritwik_raha)
33
+ Paper: [Involution: Inverting the Inherence of Convolution for Visual Recognition](https://arxiv.org/abs/2103.06255)"""
34
+
35
  iface = gr.Interface(
36
  fn=infer,
37
+ title="Involutional Neural Networks",
38
+ article=article,
 
 
 
39
  inputs=gr.inputs.Image(label="Input Image"),
40
  outputs=[
41
  gr.outputs.Image(label="Activation from Kernel 1"),