raghavd99 commited on
Commit
4806a36
1 Parent(s): d5a66a4

added objects

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. downloader.py +6 -0
app.py CHANGED
@@ -3,7 +3,7 @@ import lancedb.embeddings.imagebind
3
  from lancedb.embeddings import get_registry
4
  from lancedb.pydantic import LanceModel, Vector
5
  import gradio as gr
6
- from .downloader import dowload_and_save_audio, dowload_and_save_image, base_path
7
 
8
  model = get_registry().get("imagebind").create()
9
 
 
3
  from lancedb.embeddings import get_registry
4
  from lancedb.pydantic import LanceModel, Vector
5
  import gradio as gr
6
+ from downloader import dowload_and_save_audio, dowload_and_save_image, base_path
7
 
8
  model = get_registry().get("imagebind").create()
9
 
downloader.py CHANGED
@@ -7,11 +7,17 @@ audio_file_urls = [
7
  "https://github.com/raghavdixit99/assets/raw/main/bird_audio.wav",
8
  "https://github.com/raghavdixit99/assets/raw/main/dragon-growl-37570.wav",
9
  "https://github.com/raghavdixit99/assets/raw/main/car_audio.wav",
 
 
 
10
  ]
11
  image_urls = [
12
  "https://github.com/raghavdixit99/assets/assets/34462078/abf47cc4-d979-4aaa-83be-53a2115bf318",
13
  "https://github.com/raghavdixit99/assets/assets/34462078/93be928e-522b-4e37-889d-d4efd54b2112",
14
  "https://github.com/raghavdixit99/assets/assets/34462078/025deaff-632a-4829-a86c-3de6e326402f",
 
 
 
15
  ]
16
 
17
  base_path = os.path.dirname(os.path.abspath(__file__))
 
7
  "https://github.com/raghavdixit99/assets/raw/main/bird_audio.wav",
8
  "https://github.com/raghavdixit99/assets/raw/main/dragon-growl-37570.wav",
9
  "https://github.com/raghavdixit99/assets/raw/main/car_audio.wav",
10
+ "https://github.com/raghavdixit99/assets/raw/main/acoustic-guitar.wav",
11
+ "https://github.com/raghavdixit99/assets/raw/main/witch-103635.wav",
12
+ "https://github.com/raghavdixit99/assets/raw/main/thunder-25689.wav"
13
  ]
14
  image_urls = [
15
  "https://github.com/raghavdixit99/assets/assets/34462078/abf47cc4-d979-4aaa-83be-53a2115bf318",
16
  "https://github.com/raghavdixit99/assets/assets/34462078/93be928e-522b-4e37-889d-d4efd54b2112",
17
  "https://github.com/raghavdixit99/assets/assets/34462078/025deaff-632a-4829-a86c-3de6e326402f",
18
+ "https://github.com/raghavdixit99/assets/assets/34462078/a20bff32-155c-4bad-acf1-97856c493099",
19
+ "https://github.com/raghavdixit99/assets/assets/34462078/4f7dadd8-b38c-4c14-ac8a-5a2e74414f6a",
20
+ "https://github.com/raghavdixit99/assets/assets/34462078/ac11eeab-7b2b-4db3-981b-d5fed08d9bc2"
21
  ]
22
 
23
  base_path = os.path.dirname(os.path.abspath(__file__))