Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -91,7 +91,7 @@ def infer(image):
|
|
91 |
|
92 |
|
93 |
title = "Enhance low-light images."
|
94 |
-
|
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 |
-
|
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 |
)
|