Spaces:
Running
Running
Update steganography.py
Browse files- steganography.py +2 -1
steganography.py
CHANGED
@@ -116,7 +116,8 @@ with gr.Blocks(title='Audio Steganography', theme=gr.themes.Soft(primary_hue="gr
|
|
116 |
|
117 |
def gradio_interface_fn(text, base_width, height, max_font_size, margin, letter_spacing):
|
118 |
print("\n", text)
|
119 |
-
|
|
|
120 |
|
121 |
generate_button.click(gradio_interface_fn, inputs=[text, base_width, height, max_font_size, margin, letter_spacing], outputs=[output_audio, output_spectrogram])
|
122 |
|
|
|
116 |
|
117 |
def gradio_interface_fn(text, base_width, height, max_font_size, margin, letter_spacing):
|
118 |
print("\n", text)
|
119 |
+
audio_path, spectrogram_path = create_audio_with_spectrogram(text, base_width, height, max_font_size, margin, letter_spacing)
|
120 |
+
return audio_path, spectrogram_path
|
121 |
|
122 |
generate_button.click(gradio_interface_fn, inputs=[text, base_width, height, max_font_size, margin, letter_spacing], outputs=[output_audio, output_spectrogram])
|
123 |
|