Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def process_video(video_path, progress=gr.Progress()):
|
|
130 |
add_audio_to_video(temp_video_path, audio_path, output_video_path, progress)
|
131 |
return output_video_path
|
132 |
|
133 |
-
with gr.Blocks(title='Video from Spectrogram', css="footer{display:none !important}", theme=gr.themes.Soft(primary_hue="green", secondary_hue="green", spacing_size="sm", radius_size="lg") as iface:
|
134 |
|
135 |
with gr.Group():
|
136 |
with gr.Row(variant='panel'):
|
@@ -143,11 +143,11 @@ with gr.Blocks(title='Video from Spectrogram', css="footer{display:none !importa
|
|
143 |
with gr.Column():
|
144 |
gr.HTML("<center><h2><a href='https://github.com/Bebra777228/Audio-Steganography'>GitHub</a></h2></center>")
|
145 |
|
146 |
-
with gr.Column(
|
147 |
video_input = gr.Video(label="Upload video")
|
148 |
-
with gr.Column(
|
149 |
generate_button = gr.Button("Generate")
|
150 |
-
with gr.Column(
|
151 |
video_output = gr.Video(label="VideoSpectrogram")
|
152 |
|
153 |
def gradio_video_process_fn(video_input, progress=gr.Progress()):
|
|
|
130 |
add_audio_to_video(temp_video_path, audio_path, output_video_path, progress)
|
131 |
return output_video_path
|
132 |
|
133 |
+
with gr.Blocks(title='Video from Spectrogram', css="footer{display:none !important}", theme=gr.themes.Soft(primary_hue="green", secondary_hue="green", spacing_size="sm", radius_size="lg")) as iface:
|
134 |
|
135 |
with gr.Group():
|
136 |
with gr.Row(variant='panel'):
|
|
|
143 |
with gr.Column():
|
144 |
gr.HTML("<center><h2><a href='https://github.com/Bebra777228/Audio-Steganography'>GitHub</a></h2></center>")
|
145 |
|
146 |
+
with gr.Column():
|
147 |
video_input = gr.Video(label="Upload video")
|
148 |
+
with gr.Column():
|
149 |
generate_button = gr.Button("Generate")
|
150 |
+
with gr.Column():
|
151 |
video_output = gr.Video(label="VideoSpectrogram")
|
152 |
|
153 |
def gradio_video_process_fn(video_input, progress=gr.Progress()):
|