File size: 990 Bytes
5426d51
 
 
 
be29542
5426d51
 
 
 
 
be29542
5426d51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
30
31
32
33
34
35
36
37
38
from screens.search import Search_Property
from screens.chat_bot import run_chatbot
from screens.chat_bot_2 import run_chatbot_2
from screens.analysis import  report_analysis
from screens.predict import predict_page
from utils.index import get_hash

def get_routes():
    screens = [
        {
            "component": predict_page,
            "name": "Price Prediction",
            "icon": "piggy-bank"
        },
        {
            "component": report_analysis,
            "name": "Report Analysis",
            "icon": "bi-bar-chart-line"  
        },
        {
            "component": Search_Property,
            "name": "Search",
            "icon": "search"  
        },
        {
            "component": run_chatbot,
            "name": "Law/News chatbot",
            "icon": "chat"  
        },
        {
            "component": run_chatbot_2,
            "name": "Real Estate chatbot",
            "icon": "chat-dots"  
        }
    ]
    
    return get_hash(screens)