Spaces:
Sleeping
Sleeping
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_price | |
from utils.index import get_hash | |
def get_routes(): | |
screens = [ | |
{ | |
"component": predict_price, | |
"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) | |