Spaces:
Running
on
Zero
Running
on
Zero
Cheeky Sparrow
commited on
Commit
·
153ec0a
1
Parent(s):
2949131
switch to whale due to missing ile
Browse files
app.py
CHANGED
|
@@ -212,7 +212,7 @@ def main(
|
|
| 212 |
laz_audio = assets_dir / "Lazuli_Bunting_yell-YELLLAZB20160625SM303143.mp3"
|
| 213 |
frog_audio = assets_dir / "nri-GreenTreeFrogEvergladesNP.mp3"
|
| 214 |
robin_audio = assets_dir / "yell-YELLAMRO20160506SM3.mp3"
|
| 215 |
-
|
| 216 |
|
| 217 |
examples = {
|
| 218 |
"Identifying Focal Species (Lazuli Bunting)": [
|
|
@@ -227,7 +227,7 @@ def main(
|
|
| 227 |
str(robin_audio),
|
| 228 |
"Caption the audio, using the scientific name for any animal species.",
|
| 229 |
],
|
| 230 |
-
"Caption the audio (
|
| 231 |
"Speaker Count (Lazuli Bunting)": [
|
| 232 |
str(laz_audio),
|
| 233 |
"How many individuals are vocalizing in this audio?",
|
|
@@ -240,7 +240,7 @@ def main(
|
|
| 240 |
str(robin_audio),
|
| 241 |
"Caption the audio, using the scientific name for any animal species.",
|
| 242 |
],
|
| 243 |
-
"Caption the audio (
|
| 244 |
}
|
| 245 |
|
| 246 |
with gr.Blocks(
|
|
|
|
| 212 |
laz_audio = assets_dir / "Lazuli_Bunting_yell-YELLLAZB20160625SM303143.mp3"
|
| 213 |
frog_audio = assets_dir / "nri-GreenTreeFrogEvergladesNP.mp3"
|
| 214 |
robin_audio = assets_dir / "yell-YELLAMRO20160506SM3.mp3"
|
| 215 |
+
whale_audio = assets_dir / "Humpback Whale - Megaptera novaeangliae.wav"
|
| 216 |
|
| 217 |
examples = {
|
| 218 |
"Identifying Focal Species (Lazuli Bunting)": [
|
|
|
|
| 227 |
str(robin_audio),
|
| 228 |
"Caption the audio, using the scientific name for any animal species.",
|
| 229 |
],
|
| 230 |
+
"Caption the audio (Megaptera novaeangliae)": [str(whale_audio), "Caption the audio."],
|
| 231 |
"Speaker Count (Lazuli Bunting)": [
|
| 232 |
str(laz_audio),
|
| 233 |
"How many individuals are vocalizing in this audio?",
|
|
|
|
| 240 |
str(robin_audio),
|
| 241 |
"Caption the audio, using the scientific name for any animal species.",
|
| 242 |
],
|
| 243 |
+
"Caption the audio (Humpback Whale)": [str(whale_audio), "Caption the audio."],
|
| 244 |
}
|
| 245 |
|
| 246 |
with gr.Blocks(
|