TheStinger commited on
Commit
8cd4859
·
1 Parent(s): ed72842

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -10,10 +10,10 @@ def main():
10
  gr.Markdown(
11
  """
12
  # <div align="center"> Ilaria Audio Analyzer 💖 (BETA) </div>
13
- Audio Analyzer Software by Ilaria, Help me on [Ko-Fi](https://ko-fi.com/ilariaowo)\n
14
- Special thanks to [Alex Murkoff](https://github.com/alexlnkp) for helping me coding it!
15
 
16
- Need help with AI? [Join AI Hub!](https://discord.gg/aihub)
17
  """
18
  )
19
 
@@ -65,6 +65,7 @@ def create_spectrogram_and_get_info(audio_file):
65
 
66
  | Information | Value |
67
  | --- | --- |
 
68
  | Duration | {int(minutes)} minutes - {int(seconds)} seconds - {int(milliseconds)} milliseconds |
69
  | Samples per second | {audio_info.samplerate} Hz |
70
  | Audio Channels | {audio_info.channels} |
@@ -75,4 +76,4 @@ def create_spectrogram_and_get_info(audio_file):
75
  return info_table, 'spectrogram.png'
76
 
77
  # Create the Gradio interface
78
- main()
 
10
  gr.Markdown(
11
  """
12
  # <div align="center"> Ilaria Audio Analyzer 💖 (BETA) </div>
13
+ Audio Analyzer Software by Ilaria, Help me on Ko-Fi\n
14
+ Special thanks to Alex Murkoff for helping me coding it!
15
 
16
+ Need help with AI? Join AI Hub!
17
  """
18
  )
19
 
 
65
 
66
  | Information | Value |
67
  | --- | --- |
68
+ | File Name | {os.path.basename(audio_file)} |
69
  | Duration | {int(minutes)} minutes - {int(seconds)} seconds - {int(milliseconds)} milliseconds |
70
  | Samples per second | {audio_info.samplerate} Hz |
71
  | Audio Channels | {audio_info.channels} |
 
76
  return info_table, 'spectrogram.png'
77
 
78
  # Create the Gradio interface
79
+ main()