Commit
·
1f071dc
1
Parent(s):
854a25a
Update app.py
Browse files
app.py
CHANGED
@@ -65,6 +65,7 @@ def create_spectrogram_and_get_info(audio_file):
|
|
65 |
|
66 |
# Create a table with the audio file info
|
67 |
info_table = f"""
|
|
|
68 |
|
69 |
| Information | Value |
|
70 |
| :---: | :---: |
|
@@ -75,7 +76,6 @@ def create_spectrogram_and_get_info(audio_file):
|
|
75 |
| Samples per second | {audio_info.samplerate} Hz |
|
76 |
| Bit per second | {audio_info.samplerate * audio_info.channels * bit_depth} bit/s |
|
77 |
|
78 |
-
</center>
|
79 |
"""
|
80 |
|
81 |
# Return the PNG file of the spectrogram and the info table
|
|
|
65 |
|
66 |
# Create a table with the audio file info
|
67 |
info_table = f"""
|
68 |
+
<center>
|
69 |
|
70 |
| Information | Value |
|
71 |
| :---: | :---: |
|
|
|
76 |
| Samples per second | {audio_info.samplerate} Hz |
|
77 |
| Bit per second | {audio_info.samplerate * audio_info.channels * bit_depth} bit/s |
|
78 |
|
|
|
79 |
"""
|
80 |
|
81 |
# Return the PNG file of the spectrogram and the info table
|