fantos commited on
Commit
15ad7ae
·
verified ·
1 Parent(s): feec42f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -4
app.py CHANGED
@@ -89,7 +89,27 @@ Text: {data['text']}
89
  def create_interface(self):
90
  """Create Gradio interface"""
91
  with gr.Blocks(css="footer {visibility: hidden}") as self.interface:
92
- gr.Markdown("# Enhanced Image Watermarking System")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
 
94
  with gr.Tabs():
95
  # Add Watermark Tab
@@ -134,6 +154,4 @@ Text: {data['text']}
134
  """Launch the interface"""
135
  self.interface.launch(*args, **kwargs)
136
 
137
- if __name__ == "__main__":
138
- app = WatermarkGUI()
139
- app.launch()
 
89
  def create_interface(self):
90
  """Create Gradio interface"""
91
  with gr.Blocks(css="footer {visibility: hidden}") as self.interface:
92
+ gr.HTML("""<a href="https://visitorbadge.io/status?path=https%3A%2F%2Fgunship999-SecureWatermark.hf.space"> <img src="https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgunship999-SecureWatermark.hf.space&countColor=%23263759" /> </a>""")
93
+
94
+ gr.Markdown("""# Enhanced Image Watermarking System
95
+
96
+ ### Welcome to Secure Watermark - Advanced Image Protection System
97
+
98
+ 🔒 **Key Features:**
99
+ - **Dual Watermarking Technology**: Supports both steganography and PNG metadata
100
+ - **Secure Encryption**: Military-grade encryption for watermark data
101
+ - **Quality Assurance**: Real-time quality analysis and reporting
102
+ - **Metadata Support**: Track authorship, purpose, and timestamps
103
+ - **Integrity Verification**: Hash-based image tampering detection
104
+
105
+ 💡 **Perfect for:**
106
+ - Copyright Protection
107
+ - Digital Asset Management
108
+ - Document Authentication
109
+ - Creative Work Protection
110
+
111
+ Try our system by uploading an image and adding your watermark below!
112
+ """)
113
 
114
  with gr.Tabs():
115
  # Add Watermark Tab
 
154
  """Launch the interface"""
155
  self.interface.launch(*args, **kwargs)
156
 
157
+ if __