Hev832 commited on
Commit
ba66f70
·
verified ·
1 Parent(s): 03465f4

Update steganography.py

Browse files
Files changed (1) hide show
  1. steganography.py +3 -13
steganography.py CHANGED
@@ -101,19 +101,9 @@ with gr.Blocks(
101
  gr.HTML("<center><h2><a href='https://github.com/Bebra777228/Audio-Steganography'>GitHub</a></h2></center>")
102
 
103
  with gr.Tab("INFO"):
104
- with gr.Column(variant='panel'):
105
- with gr.Group():
106
- gr.HTML("<center><h2>Ha-Ha-Ha, I'm laughing at you.</h2></center><center><h2>People, before using this interface, read about what Steganography is.</h2></center><center><h2><b>Steganography is not Stable Diffusion and not Suno, why are you trying to generate images and music here?</b></h2></center>")
107
-
108
- with gr.Column(variant='panel'):
109
- with gr.Group():
110
- gr.HTML("<center><h1><b>Steganography is a method of hiding information within other information or a physical object in such a way that it cannot be detected. Using steganography, you can hide almost any digital content, including texts, images, audio, and video files.</b></h2></center>")
111
- gr.HTML("<center><h1><b>In this interface, steganography is used to hide text or an image in the spectrogram of an sound.</b></h1></center>")
112
- with gr.Column(variant='panel'):
113
- with gr.Group():
114
- gr.Image(value="https://huggingface.co/spaces/Politrees/Audio-Steganography/resolve/main/content/1.jpg", show_label=False, show_share_button=False, show_download_button=False)
115
- gr.Image(value="https://huggingface.co/spaces/Politrees/Audio-Steganography/resolve/main/content/2.jpg", show_label=False, show_share_button=False, show_download_button=False)
116
-
117
  with gr.Tab("Text to Spectrogram"):
118
  gr.HTML("<center><h2>Oh my god people, learn to read. Go to the “INFO” tab, it says what this interface is and what it is for, don't be idiots.</h2></center>")
119
  with gr.Group():
 
101
  gr.HTML("<center><h2><a href='https://github.com/Bebra777228/Audio-Steganography'>GitHub</a></h2></center>")
102
 
103
  with gr.Tab("INFO"):
104
+ with open("infor.md", "r", encoding="utf8") as f:
105
+ info = f.read()
106
+ gr.Markdown(value=info)
 
 
 
 
 
 
 
 
 
 
107
  with gr.Tab("Text to Spectrogram"):
108
  gr.HTML("<center><h2>Oh my god people, learn to read. Go to the “INFO” tab, it says what this interface is and what it is for, don't be idiots.</h2></center>")
109
  with gr.Group():