Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -166,5 +166,9 @@ with gr.Blocks(theme=gr.themes.Soft()) as iface:
|
|
166 |
confirm_button.click(predict, inputs=image_input, outputs=[detected_shape, explanation_output, recommendation_gallery])
|
167 |
restart_button.click(lambda: (None, "", [], []), inputs=None, outputs=[image_input, detected_shape, explanation_output, recommendation_gallery])
|
168 |
|
|
|
|
|
|
|
169 |
if __name__ == "__main__":
|
170 |
iface.launch()
|
|
|
|
166 |
confirm_button.click(predict, inputs=image_input, outputs=[detected_shape, explanation_output, recommendation_gallery])
|
167 |
restart_button.click(lambda: (None, "", [], []), inputs=None, outputs=[image_input, detected_shape, explanation_output, recommendation_gallery])
|
168 |
|
169 |
+
# Add source statement under the gallery
|
170 |
+
gr.Markdown("**Sumber gambar kacamata**: Katalog dari [glassdirect.co.uk](https://www.glassdirect.co.uk)")
|
171 |
+
|
172 |
if __name__ == "__main__":
|
173 |
iface.launch()
|
174 |
+
|