Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -147,11 +147,13 @@ Try our system by uploading an image and adding your watermark below!
|
|
147 |
detect_btn.click(
|
148 |
fn=self.detect_watermark,
|
149 |
inputs=[detect_image],
|
|
|
|
|
150 |
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
|
155 |
if __name__ == "__main__":
|
156 |
-
|
157 |
-
|
|
|
147 |
detect_btn.click(
|
148 |
fn=self.detect_watermark,
|
149 |
inputs=[detect_image],
|
150 |
+
outputs=detect_result
|
151 |
+
)
|
152 |
|
153 |
+
def launch(self, *args, **kwargs):
|
154 |
+
"""Launch the interface"""
|
155 |
+
self.interface.launch(*args, **kwargs)
|
156 |
|
157 |
if __name__ == "__main__":
|
158 |
+
app = WatermarkGUI()
|
159 |
+
app.launch()
|