awsaf49 commited on
Commit
86caa22
·
1 Parent(s): c4c4ffa

ui updated

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -216,7 +216,7 @@ label, .gr-label {
216
  """
217
 
218
  # Create Gradio interface
219
- with gr.Blocks(css=css, theme=gr.themes.Default()) as demo:
220
  # Title and Logo
221
  gr.HTML(
222
  """
@@ -288,7 +288,7 @@ with gr.Blocks(css=css, theme=gr.themes.Default()) as demo:
288
  elem_id="output"
289
  )
290
 
291
- with gr.Accordion("How It Works", open=True):
292
  gr.Markdown("""
293
  ## The SONICS classifier
294
 
@@ -308,8 +308,8 @@ with gr.Blocks(css=css, theme=gr.themes.Default()) as demo:
308
  with gr.Accordion("Example Audio Files", open=True):
309
  gr.Examples(
310
  examples=[
311
- ["demo/real_song.mp3", "SpecTTTra-γ (5s)"],
312
- ["demo/fake_song.mp3", "SpecTTTra-γ (5s)"],
313
  ],
314
  inputs=[audio_input, model_dropdown],
315
  outputs=[output],
@@ -321,8 +321,8 @@ with gr.Blocks(css=css, theme=gr.themes.Default()) as demo:
321
  gr.HTML(
322
  """
323
  <div class="footer" style="text-align: center;">
324
- <p style="color: #bbbbbb; font-size: 14px;">SONICS: Synthetic Or Not - Identifying Counterfeit Songs | ICLR 2025</p>
325
- <p style="color: #777777; font-size: 12px;">For research purposes only</p>
326
  </div>
327
  """
328
  )
 
216
  """
217
 
218
  # Create Gradio interface
219
+ with gr.Blocks(css=css, theme=gr.themes.Ocean()) as demo:
220
  # Title and Logo
221
  gr.HTML(
222
  """
 
288
  elem_id="output"
289
  )
290
 
291
+ with gr.Accordion("How It Works", open=False):
292
  gr.Markdown("""
293
  ## The SONICS classifier
294
 
 
308
  with gr.Accordion("Example Audio Files", open=True):
309
  gr.Examples(
310
  examples=[
311
+ ["example/real_song.mp3", "SpecTTTra-γ (5s)"],
312
+ ["example/fake_song.mp3", "SpecTTTra-γ (5s)"],
313
  ],
314
  inputs=[audio_input, model_dropdown],
315
  outputs=[output],
 
321
  gr.HTML(
322
  """
323
  <div class="footer" style="text-align: center;">
324
+ <p style="color: #bbbbbb; font-size: 14px;">SONICS: Synthetic Or Not - Identifying Counterfeit Songs | Created by SONICS Team</p>
325
+ <p style="color: #777777; font-size: 12px;">© 2025 - For research purposes only</p>
326
  </div>
327
  """
328
  )