sayakpaul HF staff commited on
Commit
6b6047c
1 Parent(s): ad78419

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -91,7 +91,7 @@ def infer(image):
91
 
92
 
93
  title = "Enhance low-light images."
94
- article = "The underlying model is [this](https://huggingface.co/sayakpaul/S-2_enhancement_lol). You can use the model to enhance low-light images, "
95
  "which may be useful for aiding vision-impaired people. To quickly try out the model, you can choose from the available sample images above, or you "
96
  "can submit your own image. Not that, internally, the model is re-initialized based on the spatial dimensions of the input image and this process is time-consuming."
97
 
@@ -100,7 +100,7 @@ iface = gr.Interface(
100
  inputs="image",
101
  outputs="image",
102
  title=title,
103
- article=article,
104
  allow_flagging="never",
105
  examples=[["1.png"], ["111.png"], ["748.png"], ["a4541-DSC_0040-2.png"]],
106
  )
 
91
 
92
 
93
  title = "Enhance low-light images."
94
+ description = "The underlying model is [this](https://huggingface.co/sayakpaul/S-2_enhancement_lol). You can use the model to enhance low-light images, "
95
  "which may be useful for aiding vision-impaired people. To quickly try out the model, you can choose from the available sample images above, or you "
96
  "can submit your own image. Not that, internally, the model is re-initialized based on the spatial dimensions of the input image and this process is time-consuming."
97
 
 
100
  inputs="image",
101
  outputs="image",
102
  title=title,
103
+ description=description,
104
  allow_flagging="never",
105
  examples=[["1.png"], ["111.png"], ["748.png"], ["a4541-DSC_0040-2.png"]],
106
  )