akshayballal commited on
Commit
bbb6e86
β€’
1 Parent(s): 00254fb

chore: Update demo interface with title and description

Browse files
app.py CHANGED
@@ -109,6 +109,12 @@ def search(query, audio):
109
 
110
 
111
  demo = gr.Interface(
 
 
 
 
 
 
112
  fn=search,
113
  inputs=["text", gr.Audio(label="Audio", type="filepath")],
114
  outputs=[
@@ -120,9 +126,9 @@ demo = gr.Interface(
120
  gr.Audio(label="Audio", type="filepath"),
121
  ],
122
  examples=[
123
- ["screwdriver", "examples/samples_hp0.wav"],
124
- ["united states", "examples/samples_gb0.wav"],
125
- ["united states", "examples/samples_hp0.wav"],
126
  ],
127
  )
128
  demo.launch()
 
109
 
110
 
111
  demo = gr.Interface(
112
+ title="Search πŸ”Ž in Audio πŸŽ™οΈ",
113
+ description="""Search within audio files using text queries.
114
+
115
+ Models used: Whisper, Jina
116
+
117
+ """,
118
  fn=search,
119
  inputs=["text", gr.Audio(label="Audio", type="filepath")],
120
  outputs=[
 
126
  gr.Audio(label="Audio", type="filepath"),
127
  ],
128
  examples=[
129
+ ["screwdriver", "samples_hp0.wav"],
130
+ ["united states", "samples_gb0.wav"],
131
+ ["united states", "samples_hp0.wav"],
132
  ],
133
  )
134
  demo.launch()
examples/samples_gb0.wav β†’ samples_gb0.wav RENAMED
File without changes
examples/samples_hp0.wav β†’ samples_hp0.wav RENAMED
File without changes
examples/samples_jfk.wav β†’ samples_jfk.wav RENAMED
File without changes