File size: 955 Bytes
7b5cbc7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
project work flow and pipelining:


app.py  -->  frontend/gradio_app.py  
  |  
  |  
  β”œβ”€β”€> frontend/input_handlers.py  
  |       |  
  |       |  
  |       β”œβ”€β”€> backend/jewelry_recomm_service.py  
  |       |      |  
  |       |      |  
  |       |      β”œβ”€β”€> backend/supportingfiles/model_loader.py  
  |       |      |      β”œβ”€β”€> config.py  (INDEX_PATH, METADATA_PATH, DEVICE)  
  |       |      |  
  |       |      |  
  |       |      β”œβ”€β”€> backend/supportingfiles/image_processor.py  
  |       |      |      β”œβ”€β”€> config.py  (get_image_transform, DEVICE)  
  |       |      |  
  |       |      |    
  |       |      β”œβ”€β”€> backend/supportingfiles/recommender.py  
  |       |             β”œβ”€β”€> config.py  (DEFAULT_NUM_RECOMMENDATIONS)  
  |       |  
  |       |  
  |       β”œβ”€β”€> utils/formatter.py  (Formats output)  
  | 
  |  
  |  
  └──> config.py  (Standalone configuration file)