fantos commited on
Commit
e78a28c
·
verified ·
1 Parent(s): 5eccf13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -5
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
- def launch(self, *args, **kwargs):
152
- """Launch the interface"""
153
- self.interface.launch(*args, **kwargs)
154
 
155
  if __name__ == "__main__":
156
- app = WatermarkGUI()
157
- app.launch()
 
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()